mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-14 22:54:50 +00:00
Fix Nano active color token
Use a self-contained purple literal for the Nano context control so the active state renders without an undeclared CSS variable. Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com>
This commit is contained in:
parent
75b94cfc0d
commit
5270f88319
2 changed files with 3 additions and 1 deletions
|
|
@ -23,4 +23,6 @@ def test_chat_control_ids_match_instance_wiring_and_nano_has_active_style():
|
|||
assert "const swarmBtn = byId('swarm');" in chat
|
||||
assert "const contextModeBtn = byId('context-mode');" in chat
|
||||
assert '.chat-context-mode[data-context-mode="nano"] .chat-seg[data-mode="nano"]' in styles
|
||||
assert 'color: #c084fc;' in styles
|
||||
assert 'var(--purple' not in styles
|
||||
assert 'justify-content: center;' in styles
|
||||
|
|
|
|||
|
|
@ -3108,7 +3108,7 @@ textarea.chat-input::placeholder { color: var(--text-muted); }
|
|||
}
|
||||
.chat-context-mode[data-context-mode="nano"] .chat-seg[data-mode="nano"] {
|
||||
background: rgba(168, 85, 247, 0.18);
|
||||
color: var(--purple, #c084fc);
|
||||
color: #c084fc;
|
||||
}
|
||||
|
||||
.chat-send-group {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue