diff --git a/static/style.css b/static/style.css index 4384275..57800bc 100644 --- a/static/style.css +++ b/static/style.css @@ -98,6 +98,8 @@ body { border: 1px solid var(--border); border-radius: 4px; font-size: 1rem; + background: var(--surface); + color: var(--text); } .form-card button[type="submit"] { margin-top: 20px; width: 100%; } .form-footer { margin-top: 16px; text-align: center; font-size: 0.85rem; color: var(--muted); } @@ -133,6 +135,7 @@ body { border-radius: 4px; font-size: 1rem; background: var(--surface); + color: var(--text); } .hint { font-size: 0.8rem; color: var(--muted); margin-top: 4px; } @@ -194,6 +197,7 @@ body { /* ── Chips ── */ .chip { padding: 6px 18px; + color: var(--text); border: 2px solid var(--border); border-radius: 20px; background: var(--surface); @@ -252,7 +256,15 @@ body { .manage-form .hint { margin-bottom: 8px; } .manage-form label { display: block; margin: 12px 0 4px; font-weight: 500; font-size: 0.85rem; } .manage-form input[type="text"], -.manage-form input[type="password"] { width: 100%; padding: 6px 10px; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 8px; } +.manage-form input[type="password"] { + width: 100%; + padding: 6px 10px; + border: 1px solid var(--border); + border-radius: 4px; + margin-bottom: 8px; + background: var(--surface); + color: var(--text); +} /* ── Language footer ── */ .lang-footer { @@ -379,9 +391,6 @@ body { } /* ── Dark mode overrides for non-variable colors ── */ -[data-theme="dark"] body { - color-scheme: dark; -} [data-theme="dark"] .btn:hover { background: #2a2a4a; } @@ -407,9 +416,6 @@ body { [data-theme="dark"] .chip-no.active { color: #1a1a2e; } -[data-theme="dark"] .chip { - color: var(--text); -} [data-theme="dark"] .badge { color: var(--text); } @@ -449,7 +455,6 @@ body { [data-theme="dark"] select, [data-theme="dark"] textarea { background: #1a1a30; - color: var(--text); border-color: var(--border); } [data-theme="dark"] input::placeholder {