From 05aa4ad1a4045e78a251b4fcbfe7ea3505dc0381 Mon Sep 17 00:00:00 2001 From: hz4th_coder Date: Thu, 3 Sep 2026 01:24:41 +0800 Subject: [PATCH] =?UTF-8?q?v2.4.2=20=E6=B7=B1=E8=89=B2=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E5=8F=AF=E8=AF=BB=E6=80=A7=EF=BC=9Acolor-scheme:dark=20+=20?= =?UTF-8?q?=E4=B8=BB/=E5=BC=B1=E6=96=87=E5=AD=97=E6=8F=90=E4=BA=AE(--text?= =?UTF-8?q?=20#eef2fb,=20--muted=20#a9b4cd)=20+=20select=20option=20?= =?UTF-8?q?=E6=B5=85=E8=89=B2=E6=96=87=E5=AD=97=EF=BC=8C=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E4=B8=8B=E6=8B=89/=E8=A1=A8=E5=8D=95=E6=8E=A7=E4=BB=B6?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E9=BB=91=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 1cd9371..dfe1009 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,10 +1,11 @@ :root { + color-scheme: dark; /* 原生下拉/滚动条/表单控件用浅色文字,避免黑字 */ --bg: #0f1420; --panel: #171e2e; --panel2: #1d2538; --border: #2a3550; - --text: #e6ebf5; - --muted: #8b96ad; + --text: #eef2fb; + --muted: #a9b4cd; --accent: #4f8cff; --accent2: #22c58b; --warn: #f5a623; @@ -64,6 +65,9 @@ body { padding: 8px 10px; font-size: 13px; outline: none; } .field input:focus, .field select:focus { border-color: var(--accent); } +.field select option { background-color: var(--panel2); color: var(--text); } +.field select option:checked { background-color: var(--accent); color: #fff; } +input::placeholder { color: var(--muted); opacity: 1; } .field input[type="range"] { width: 100%; accent-color: var(--accent); } .hint { color: var(--muted); font-size: 11px; margin-top: 4px; } .hint-inline { color: var(--muted); font-weight: 400; margin-left: 6px; }