aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/generate.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-13 17:27:30 -0500
committerCraig Jennings <c@cjennings.net>2026-06-13 17:27:30 -0500
commita0d45cbb48ffe97579a5b4797e48508a8eac4ca4 (patch)
treeada761d64d614a75394431ce4a4f0666e7fc5740 /scripts/theme-studio/generate.py
parent87bf78550ef412b86745b71f414b00ca40a91d76 (diff)
downloaddotemacs-a0d45cbb48ffe97579a5b4797e48508a8eac4ca4.tar.gz
dotemacs-a0d45cbb48ffe97579a5b4797e48508a8eac4ca4.zip
Add theme studio Rust and Zig samples
Diffstat (limited to 'scripts/theme-studio/generate.py')
-rw-r--r--scripts/theme-studio/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/theme-studio/generate.py b/scripts/theme-studio/generate.py
index 0b2d4039..751dff71 100644
--- a/scripts/theme-studio/generate.py
+++ b/scripts/theme-studio/generate.py
@@ -46,7 +46,7 @@ BROWSER_GATES_BODY=strip_exports(open(os.path.join(HERE,'browser-gates.js')).rea
ns={}
src=open(os.path.join(HERE,'samples.py')).read()
exec(src[:src.index('cols=')], ns)
-SAMPLES={"Elisp":ns['ELS'],"Go":ns['GOS'],"Python":ns['PYS'],"TypeScript":ns['TSS'],"Java":ns['JAS'],"C":ns['CS'],"C++":ns['CPS'],"Shell":ns['SHS']}
+SAMPLES={"Elisp":ns['ELS'],"Go":ns['GOS'],"Python":ns['PYS'],"TypeScript":ns['TSS'],"Java":ns['JAS'],"C":ns['CS'],"C++":ns['CPS'],"Rust":ns['RUSTS'],"Zig":ns['ZIGS'],"Shell":ns['SHS']}
COLS=ns['COLS']
DEFAULT_FACES_PATH=os.path.join(HERE,'emacs-default-faces.json')
DEFAULTS=DefaultFaces.from_path(DEFAULT_FACES_PATH)