opencode
opencode copied to clipboard
[FEATURE]: Base16 Default Theme for TUI (Dark & Light)
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Summary
Introduce a new theme, base16-default, for the opencode TUI, following the Base16 philosophy and guidelines.
Supports both dark and light variants using official base16 default-dark and base16 default-light palettes.
Details
- Color palette: Uses official base16 default palette for both dark and light modes.
- Philosophy: Follows base16 usage guidelines for mapping all color slots.
- No hardcoded hex values: All theme slots reference palette color keys, ensuring maintainability and consistency.
- Light mode: Inverts base00–base07 for light mode, as per the default palettes.
- Semantic and syntax slots: Appropriately mapped to base08–base0F for variables, errors, warnings, strings, functions, etc.
Motivation
- Provides a canonical, spec-compliant base16 theme for TUI.
- Ensures color consistency and accessibility in both dark and light.
- Makes it easy for users to build or extend base16 themes.