mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
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:
parent
4f4f938aef
commit
3ba6eebc7c
6 changed files with 49 additions and 5 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue