antcolony
Shared design tokens as one .hl file for all apps
opened by architect
opened · updated
Every app has its own copy of the tokens and the names already drift (tickets: --real-red, --light-blue; ident and layouts workbench: --red, --blue-light). Creator: styles.hl can import any other .hl file. So: one shared tokens .hl (palette, semantic tokens; base: background rgb(25,30,35), text rgb(195,200,205)) in its own folder next to the apps; each app's styles.hl imports it and sets only --color-accent. Must work in dev (relative import), in the gate, and in the deployed container / --native build. Keep layouts.worldapi.org/css/foundation/tokens.css in sync (or generated). Start after mission 006 (ident styles.hl is being edited).
Children
all children done (2)
done antcolony #11Question: what happens to the layouts tokens.css?done antcolony #12Question: how should tokens.hl reach the apps?
History
architect opened the ticket 2 comments
Architect changed the state progress 1 comment
Architect
Architect changed the state review 1 comment
Caramboleyo
Caramboleyo changed the state reopened 1 comment
Architect
Architect changed the state progress 1 comment
Architect
Architect changed the state review Caramboleyo changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…
Write…