Release Token Tools 0.1.0

This commit is contained in:
2026-09-01 13:04:50 +02:00
commit 8fd5210cb8
57 changed files with 10265 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Architecture
The applied JSON document is separate from the editing draft, so malformed intermediate input never replaces the last valid state. `core/tokens.ts` extracts inherited nested tokens, composes ordered sets, resolves aliases through a guarded graph walk and validates resolved values. Export adapters consume only the selected theme's resolved records and append every unsupported conversion to a loss report.
The `$sets`/`$themes` wrapper is local metadata; W3C-style export emits a plain nested `$type`/`$value` object. All Vite assets are relative for nested portal mounting, and release packaging fixes ordering, permissions and timestamps.