aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/style.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-17 15:06:42 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-17 15:06:42 -0800
commit95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc (patch)
treef28828784e45dc4073b5176d6585c83bc1f8d27e /frontend-vanilla/src/style.css
parent7ad8d0079a09e234cb1b01db47957b16e36c8c07 (diff)
downloadneko-95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc.tar.gz
neko-95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc.tar.bz2
neko-95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc.zip
Refine Settings UI: Fix dark mode text colors, split font controls for headers and body, update monospace stack, and soft-deprecate tags
Diffstat (limited to 'frontend-vanilla/src/style.css')
-rw-r--r--frontend-vanilla/src/style.css54
1 files changed, 50 insertions, 4 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css
index 7a11978..77b6850 100644
--- a/frontend-vanilla/src/style.css
+++ b/frontend-vanilla/src/style.css
@@ -1,12 +1,20 @@
:root {
/* Font Variables */
--font-body: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
- --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+
+ /* System/UI Heading Font (Hardcoded) */
+ --font-heading-system: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+
+ /* Dynamic Heading Font (User Selectable) - default to system */
+ --font-heading: var(--font-heading-system);
+
--font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+ /* Monospace Font - Courier New first as requested */
+ --font-mono: 'Courier New', Courier, monospace;
+
line-height: 1.5;
font-size: 18px;
- /* Restored to original base size */
/* Light Mode Defaults */
--bg-color: #ffffff;
@@ -19,6 +27,16 @@
color-scheme: light dark;
}
+/* Dark Mode Overrides */
+.theme-dark {
+ --bg-color: #1a1a1a;
+ --text-color: #e0e0e0;
+ --sidebar-bg: #2d2d2d;
+ --link-color: #8ab4f8;
+ --border-color: #444;
+ --accent-color: #0056b3;
+}
+
* {
box-sizing: border-box;
}
@@ -524,19 +542,47 @@ select:focus {
}
.font-sans {
- --font-body: var(--font-heading);
+ --font-body: var(--font-heading-system);
+ /* Use system sans for body if selected */
font-family: var(--font-body);
}
.font-mono {
- --font-body: Menlo, Monaco, Consolas, 'Courier New', monospace;
+ --font-body: var(--font-mono);
font-family: var(--font-body);
}
+/* Heading Font Overrides */
+.heading-font-default {
+ --font-heading: var(--font-heading-system);
+}
+
+.heading-font-serif {
+ --font-heading: Georgia, 'Times New Roman', Times, serif;
+}
+
+.heading-font-mono {
+ --font-heading: var(--font-mono);
+}
+
+.heading-font-sans {
+ --font-heading: var(--font-sans);
+}
+
+/* Dark Mode Settings Fix */
+.theme-dark .settings-view,
+.theme-dark .settings-view h2,
+.theme-dark .settings-view h3,
+.theme-dark .settings-group label,
+.theme-dark .data-group label {
+ color: var(--text-color) !important;
+}
+
/* Settings View */
.settings-view {
padding-top: 2rem;
font-family: var(--font-heading);
+ color: var(--text-color);
}
.settings-view h2 {