aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/capture-default-faces.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-30 10:39:52 -0400
committerCraig Jennings <c@cjennings.net>2026-06-30 10:39:52 -0400
commit0801bf7fd35d4d37d2cba3c984622022cc1528fc (patch)
tree90b04da759e5a8dd0994abd2d6db655ff2fbab57 /scripts/theme-studio/capture-default-faces.py
parent20a8f4a07ca41b6e7cc75174a1c327cc6ed9d676 (diff)
downloaddotemacs-0801bf7fd35d4d37d2cba3c984622022cc1528fc.tar.gz
dotemacs-0801bf7fd35d4d37d2cba3c984622022cc1528fc.zip
feat(theme-studio): surface the five remaining font-lock faces
Add the font-lock faces the syntax tier didn't cover (warning, doc-markup, negation-char, and the two regexp-grouping faces) as their own editable categories: warn, dmark, neg, rxgb, rxgc. Each maps 1:1 to its face, seeds from the stock defaults, and is exercised in the code-sample preview via a TODO comment, a docstring substitution, a string regexp, and a C negation. Injected only the five new faces into the default-faces snapshot rather than regenerating it wholesale. A full recapture pulls in unrelated package-inventory drift.
Diffstat (limited to 'scripts/theme-studio/capture-default-faces.py')
-rw-r--r--scripts/theme-studio/capture-default-faces.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/theme-studio/capture-default-faces.py b/scripts/theme-studio/capture-default-faces.py
index a5214fd5a..b9104c9d7 100644
--- a/scripts/theme-studio/capture-default-faces.py
+++ b/scripts/theme-studio/capture-default-faces.py
@@ -52,6 +52,11 @@ SYNTAX = {
"font-lock-delimiter-face",
"font-lock-misc-punctuation-face",
],
+ "warn": ["font-lock-warning-face"],
+ "dmark": ["font-lock-doc-markup-face"],
+ "neg": ["font-lock-negation-char-face"],
+ "rxgb": ["font-lock-regexp-grouping-backslash"],
+ "rxgc": ["font-lock-regexp-grouping-construct"],
}
UI = [