mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 10:12:34 +00:00
Initial scaffold: spec, architecture playbook, and M0 skeleton
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Theme identity — portable core. No browser APIs, no React.
|
||||
*
|
||||
* `UiTheme` is the app-wide theme token. It lives in `src/core/` (not in a
|
||||
* store) because pure core logic needs it too: the Vega chart-config mapping
|
||||
* (`chartConfigFor`, see docs/architecture/05) keys off the same union, and core
|
||||
* must never import from `src/app/`. The store and the document `data-theme`
|
||||
* mirror this value; this is its single definition.
|
||||
*/
|
||||
export type UiTheme = 'light' | 'experimental';
|
||||
Reference in New Issue
Block a user