From 3ec5eef7025d2bdbb9efbb2dc1026d65ca3a8590 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 30 Jun 2026 10:39:52 -0400 Subject: 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. --- scripts/theme-studio/capture-default-faces.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/theme-studio/capture-default-faces.py') 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 = [ -- cgit v1.2.3