Skip to content

Commit 86e6a25

Browse files
Tom Schoenclaude
authored andcommitted
fix(ui): force the dark theme for all users (was following the OS setting)
VolScope shipped with no .streamlit/config.toml [theme] block, so Streamlit's base theme silently followed each viewer's prefers-color-scheme. A user whose OS is in Light Mode therefore saw a broken half-light VolScope (light sidebar + widgets against the dark custom-styled content). Pin base="dark" plus the brand palette so the volatility terminal renders identically dark everywhere. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f9b5e78 commit 86e6a25

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.streamlit/config.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# VolScope is a dark volatility terminal. Force the dark base + brand palette
2+
# so it renders identically regardless of the viewer's OS light/dark setting.
3+
# Without this, a user whose system is in Light Mode saw a broken light sidebar
4+
# (Streamlit's base theme silently follows prefers-color-scheme).
5+
[theme]
6+
base = "dark"
7+
primaryColor = "#00d4aa"
8+
backgroundColor = "#0a0b0f"
9+
secondaryBackgroundColor = "#12131a"
10+
textColor = "#e0e4ef"
11+
12+
[browser]
13+
gatherUsageStats = false

0 commit comments

Comments
 (0)