💄 day/night themes

This commit is contained in:
2026-02-21 10:26:50 +10:00
parent 9bd46127a6
commit 740faae8c8
5 changed files with 76 additions and 11 deletions

View File

@@ -28,6 +28,25 @@
text-transform: uppercase;
}
.app-titlebar-theme-btn {
position: absolute;
right: 12px;
background: none;
border: none;
color: var(--text-muted);
font-size: 13px;
cursor: pointer;
padding: 2px 4px;
border-radius: 4px;
line-height: 1;
-webkit-app-region: no-drag;
transition: color 0.15s;
}
.app-titlebar-theme-btn:hover {
color: var(--text-primary);
}
/* ─── Sidebar ──────────────────────────────────────────────────── */
.sidebar {
background: var(--sidebar-bg);

View File

@@ -38,6 +38,30 @@
--font-sans: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
/* ─── Light mode token overrides (sepia) ──────────────────────── */
html.light {
--bg-base: #f2ead8;
--sidebar-bg: #e8dfc8;
--toolbar-bg: #ddd4bc;
--editor-bg: #f2ead8;
--message-bg: #e8dfc8;
--user-message-bg:#ddd4bc;
--input-bg: #e8dfc8;
--border: #c4b89a;
--hover-bg: rgba(120,88,40,0.08);
--active-bg: rgba(120,88,40,0.15);
--text-primary: #241c0e;
--text-secondary: #52401e;
--text-muted: #7a6640;
--heading-color: #3c2c0e;
--accent: #7a5c28;
--accent-hover: #9a7030;
}
/* ─── Base ─────────────────────────────────────────────────────── */
html, body, #root {
height: 100%;