fix(console): use existing CSS tokens for autocomplete dropdown
Replace phantom token refs (--border-strong, --fg-muted, --font-mono) with the project's real tokens (--color-border, --color-muted) or a plain font stack where no project-wide token exists. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5a85153c4f
commit
7aa9b0b49c
1 changed files with 3 additions and 3 deletions
|
|
@ -10,9 +10,9 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: var(--cm-bg, #1e1e1e);
|
background-color: var(--cm-bg, #1e1e1e);
|
||||||
color: var(--cm-fg, #e0e0e0);
|
color: var(--cm-fg, #e0e0e0);
|
||||||
border: 1px solid var(--border-strong, #444);
|
border: 1px solid var(--color-border, #444);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.console-autocomplete-desc {
|
.console-autocomplete-desc {
|
||||||
color: var(--fg-muted, #888);
|
color: var(--color-muted, #888);
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue