feat: add theme setting (Light/Dark/System) with dark mode

Add theme preference (light/dark/system) stored in extension state.
System mode follows prefers-color-scheme and listens for changes.
Dark mode inverts the monochrome palette (white-on-black).
Theme selector added to Display section in settings.

Closes #125
Este commit está contenido en:
user
2026-03-01 03:36:42 -08:00
padre 834228b572
commit 2bdb547995
Se han modificado 6 ficheros con 70 adiciones y 1 borrados
+12
Ver fichero
@@ -15,6 +15,18 @@
--color-section: #dddddd;
}
html.dark {
--color-bg: #000000;
--color-fg: #ffffff;
--color-muted: #999999;
--color-border: #ffffff;
--color-border-light: #333333;
--color-hover: #111111;
--color-well: #0a0a0a;
--color-danger-well: #1a0000;
--color-section: #222222;
}
body {
width: 396px;
overflow-x: hidden;