feat(themes): dedicated code-syntax palette keys

Code highlighting reused brand tokens (accent/text/border/muted), so it couldn't
be themed independently. Add syntax_string/number/keyword/comment skin keys →
syntax* theme tokens (defaulting to those brand tokens, so defaults are
unchanged) and point the highlighter at them. Documented in the element→key map.
This commit is contained in:
Brooklyn Nicholson 2026-07-21 20:01:32 -05:00
parent 4f4f938aef
commit 3ba6eebc7c
6 changed files with 49 additions and 5 deletions

View file

@ -44,6 +44,10 @@ export const SKIN_COLOR_TOKENS = [
'diff_removed',
'diff_added_word',
'diff_removed_word',
'syntax_string',
'syntax_number',
'syntax_keyword',
'syntax_comment',
// CLI / TUI chrome.
'prompt',
'input_rule',