Repository navigation
Sidebar labels and values now stay readable when OpenCode switches between light and dark mode.
Fixed
- Labels use
theme.text.baseand values usetheme.text.mutedinstead of the terminal default foreground, so they no longer render as unreadable white text on light backgrounds. - Added a
themeText()fallback chain for the OpenCode 2.0.9 token renames (text.default→text.base,text.subdued→text.muted, no aliases kept). - Colors are read inside JSX property expressions so babel-preset-solid wraps them in
_$effectand they re-evaluate live. - Subscribes to renderer
theme_mode/paletteevents with delayed re-bumps (150ms / 600ms) because the host re-resolves color tokens asynchronously — the value read right at event time may still be stale.
Changed
- Bump version to 0.1.4.
Full diff: v0.1.3...v0.1.4