From 7aa9b0b49c4b4fa79782a8e9f2b481a08447ab43 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 17 May 2026 17:54:44 +0200 Subject: [PATCH] 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 --- l4d2web/l4d2web/static/css/console-autocomplete.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/l4d2web/l4d2web/static/css/console-autocomplete.css b/l4d2web/l4d2web/static/css/console-autocomplete.css index d03bba2..7ad0185 100644 --- a/l4d2web/l4d2web/static/css/console-autocomplete.css +++ b/l4d2web/l4d2web/static/css/console-autocomplete.css @@ -10,9 +10,9 @@ overflow-y: auto; background-color: var(--cm-bg, #1e1e1e); color: var(--cm-fg, #e0e0e0); - border: 1px solid var(--border-strong, #444); + border: 1px solid var(--color-border, #444); 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; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } @@ -47,7 +47,7 @@ } .console-autocomplete-desc { - color: var(--fg-muted, #888); + color: var(--color-muted, #888); font-size: 0.9em; overflow: hidden; text-overflow: ellipsis;