patches: dark theme — custom-style checkboxes to match kanrisha

Native checkboxes render as a light box regardless of accent-color, so
they stood out against the dark theme.  Restyle input[type=checkbox]
with appearance:none to mirror the kanrisha web UI: an outlined box
that becomes an indigo-tinted box with a light indigo tick when checked
(plus an indeterminate dash and focus ring).

Sizing is left to the existing w-4/h-4 classes so the hidden
toggle-switch input is untouched.  Folded into 0002-webui-dark-theme.patch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 4.8 committed 2026-06-29 11:12:10 -05:00
1 parent e914168362
commit f1757f02da
2 files changed
+44 -11

No files matched your search

+3 -3
View File
@@ -110,9 +110,9 @@ shared asset files plus bundled fonts:
`charcoal`, `primary`, `accent`) onto the dark palette and switches
the sans/mono fonts to Inter / JetBrains Mono.
- `theme.css` — sets the dark body, restyles the bespoke components
(sidebar active state, dropdowns, toggles, file rows, login) in
indigo, and adds an override layer that flips the built-in Tailwind
white/gray/status utilities the markup uses.
(sidebar active state, dropdowns, toggles, checkboxes, file rows,
login) in indigo, and adds an override layer that flips the built-in
Tailwind white/gray/status utilities the markup uses.
- `fonts.css` + `assets/fonts/*.woff2` — self-hosts Inter and JetBrains
Mono (variable, latin + latin-ext) so the UI stays fully offline,
matching the existing self-hosted Roboto.