Initial scaffold: spec, architecture playbook, and M0 skeleton

This commit is contained in:
2026-06-04 22:14:33 +03:00
commit 056644450c
51 changed files with 13754 additions and 0 deletions
+10
View File
@@ -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';