Skip to content

Commit 017c520

Browse files
docs(changelog): add built-in themes to 0.4.0 release notes
Document new Builtin_themes module with 11 themes including: - Popular themes: catppuccin, dracula, nord, gruvbox, tokyonight - Borderless themes: opencode, oled - Theme registry API for discovery and loading Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c548d63 commit 017c520

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
- **Cascading style system** (`miaou_style`): semantic styles + CSS-like selectors with effect-based context (`Style_context`).
1717
- **Theme JSON support** with discovery/merge rules and optional validation for low-contrast fg/bg combinations.
18+
- **Built-in themes** (`Builtin_themes`): 11 popular themes included directly in the library:
19+
- Dark: catppuccin-mocha, dracula, nord, gruvbox-dark, tokyonight, opencode, oled
20+
- Light: catppuccin-latte, nord-light, gruvbox-light, tokyonight-day
21+
- `opencode` and `oled` themes use borderless style for a clean, minimal look
22+
- `oled` theme features true black background (#000000) with soft pastel colors for OLED screens
23+
- **Theme registry API**: `Builtin_themes.list_builtin()`, `get_builtin(id)`, `is_builtin(id)` for discovering and loading built-in themes.
24+
- **Smart theme loading**: `Theme_loader.load_any(name)` checks built-in themes first, then user themes; `list_all_themes()` returns combined list.
1825
- **Style system demo** (`miaou.style_system-demo`) with runtime theme switching and contextual styling.
1926

2027
### Changed

0 commit comments

Comments
 (0)