From 042c8ba30a6cbc1915fce8910de31af86253a044 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Feb 2026 01:07:17 +0000 Subject: Refine themes, add sidebar controls, and theme docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refined: softer dark-mode link color (#a0c4e8), fix export button vertical alignment with inline-flex, tighten settings page spacing (reduce gaps from 3rem to 1.5rem). Terminal: switch accent from cyan to green (#4ae54a dark / #1a7a2e light), add proper light mode with pale steel background, scanlines only in dark mode. Sidebar: add quick-access controls in footer — moon/sun icon toggles light/dark, circle icon cycles through style themes showing current name. Both update reactively on state change. Add THEMES.md with full documentation on creating new themes: variable reference, selector guide, light/dark mode tips, and the registration process. https://claude.ai/code/session_01Jv3c8GdaDQMm5WYwHUJMVe --- frontend-vanilla/src/style.css | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'frontend-vanilla/src/style.css') diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index e9512b7..3061948 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -215,6 +215,47 @@ html { opacity: 1; } +/* Quick controls row in sidebar footer */ +.sidebar-quick-controls { + display: flex; + gap: 0.4rem; + margin-bottom: 0.25rem; +} + +.sidebar-icon-btn { + background: none; + border: none; + cursor: pointer; + font-size: 0.75rem; + padding: 0.3rem 0.6rem; + border-radius: 6px; + color: var(--text-color); + opacity: 0.5; + transition: opacity 0.15s, background 0.15s; + font-family: var(--font-sans); + text-transform: none; + font-weight: 500; + height: auto; + line-height: 1.3; +} + +.sidebar-icon-btn:hover { + opacity: 1; + background: rgba(255, 255, 255, 0.08); + border: none; +} + +.theme-dark .sidebar-icon-btn { + color: rgba(0, 0, 0, 0.87); + border: none; + background: none; +} + +.theme-dark .sidebar-icon-btn:hover { + background: rgba(0, 0, 0, 0.06); + border: none; +} + /* Main Content area - always fills full width (sidebar overlays) */ .main-content { width: 100%; -- cgit v1.2.3 From 81c78496e1fa0701618254986e9ff17081a74f11 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Feb 2026 01:25:04 +0000 Subject: Replace sidebar style cycle button with 5 emoji icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Swap the single cycle button for individual emoji per theme: ○ Default, ◆ Refined, ▮ Terminal, ❧ Codex, ❀ Sakura. Active theme gets a highlighted state. Separated from the light/dark toggle with a thin divider. https://claude.ai/code/session_01Jv3c8GdaDQMm5WYwHUJMVe --- frontend-vanilla/src/style.css | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) (limited to 'frontend-vanilla/src/style.css') diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index 3061948..f58ae24 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -218,33 +218,47 @@ html { /* Quick controls row in sidebar footer */ .sidebar-quick-controls { display: flex; - gap: 0.4rem; + align-items: center; + gap: 0.15rem; margin-bottom: 0.25rem; } +.sidebar-controls-divider { + width: 1px; + height: 1rem; + background: rgba(128, 128, 128, 0.25); + margin: 0 0.25rem; +} + .sidebar-icon-btn { background: none; border: none; cursor: pointer; - font-size: 0.75rem; - padding: 0.3rem 0.6rem; - border-radius: 6px; + font-size: 0.8rem; + padding: 0.25rem 0.35rem; + border-radius: 4px; color: var(--text-color); - opacity: 0.5; + opacity: 0.35; transition: opacity 0.15s, background 0.15s; - font-family: var(--font-sans); + font-family: inherit; text-transform: none; - font-weight: 500; + font-weight: 400; height: auto; - line-height: 1.3; + line-height: 1; } .sidebar-icon-btn:hover { - opacity: 1; + opacity: 0.8; background: rgba(255, 255, 255, 0.08); border: none; } +.sidebar-icon-btn.active { + opacity: 1; + background: rgba(255, 255, 255, 0.15); + color: var(--text-color); +} + .theme-dark .sidebar-icon-btn { color: rgba(0, 0, 0, 0.87); border: none; @@ -256,6 +270,10 @@ html { border: none; } +.theme-dark .sidebar-icon-btn.active { + background: rgba(0, 0, 0, 0.12); +} + /* Main Content area - always fills full width (sidebar overlays) */ .main-content { width: 100%; -- cgit v1.2.3