Files
makeCAD/crates/ui-egui/tests/scenarios/prefs_theme_files.json
T
Kai Evans 0870d6474a Themes: Okibi (dark) and Akari (light), from the Okibi design system (#5730) (#5731)
* Themes: Okibi (dark) and Akari (light), from the Okibi design system

Two built-in themes mapped from the Okibi design system v1.8
(https://kaievns.github.io/okibi-akiri-design-system-spec/): cool charcoal
ash with a single ember accent, and its warm-paper light twin. Every one of
the 156 colours is set, so nothing falls back to the Dark or Light palette.

* Give the Okibi and Akari themes an icon palette

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: bherbruck <brennen.herbruck@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:42:19 +00:00

20 lines
1.0 KiB
JSON

[
{"note": "#2255: theme tiles offer the built-in themes; choosing one applies it immediately, and Cancel restores the previous theme."},
{"click": {"handle": "titlebar:preferences"}},
{"expect": {"prefs": {"dialog": "General", "theme": "dark", "dark": true}}},
{"widget": "Interface"},
{"click": {"handle": "prefs:theme:light"}},
{"expect": {"prefs": {"theme": "light", "dark": false}, "shown_handles": ["prefs:theme"]}},
{"click": {"handle": "prefs:theme:gruvbox-dark"}},
{"expect": {"prefs": {"theme": "gruvbox-dark", "dark": true}}},
{"click": {"handle": "prefs:theme:light"}},
{"expect": {"prefs": {"theme": "light", "dark": false}}},
{"widget": "Cancel"},
{"expect": {"prefs": {"dialog": null, "theme": "dark", "dark": true}}},
{"note": "Okibi (dark) and Akari (light) are built in by id."},
{"call": "ui.prefs", "params": {"theme": "akari"}},
{"expect": {"prefs": {"theme": "akari", "dark": false}}},
{"call": "ui.prefs", "params": {"theme": "okibi"}},
{"expect": {"prefs": {"theme": "okibi", "dark": true}}}
]