mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 11:03:44 +00:00
Add thinkingText theme token, fix streaming toggle bug
- Add configurable thinkingText color for thinking blocks (defaults to muted) - Make 'Thinking...' label italic when collapsed - Fix Ctrl+T during streaming hiding the current message - Track streamingMessage to properly re-render on toggle Based on #366 by @paulbettner
This commit is contained in:
parent
c15efdbcd9
commit
506e63a969
7 changed files with 36 additions and 18 deletions
|
|
@ -22,6 +22,7 @@ Every theme must define all color tokens. There are no optional colors.
|
|||
| `muted` | Secondary/dimmed text | Metadata, descriptions, output |
|
||||
| `dim` | Very dimmed text | Less important info, placeholders |
|
||||
| `text` | Default text color | Main content (usually `""`) |
|
||||
| `thinkingText` | Thinking block text | Assistant reasoning traces |
|
||||
|
||||
### Backgrounds & Content Text (11 colors)
|
||||
|
||||
|
|
@ -119,6 +120,7 @@ Themes are defined in JSON files with the following structure:
|
|||
"colors": {
|
||||
"accent": "blue",
|
||||
"muted": "gray",
|
||||
"thinkingText": "gray",
|
||||
"text": "",
|
||||
...
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue