Skip to content

[FEATURE]: Base16 Default Theme for TUI (Dark & Light) #8632

@snelling-a

Description

@snelling-a

Feature hasn't been suggested before.

  • 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.

References

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions