Streamline use of metadata/preview tokens #2920
Labels
🖥️ storefront
designsystemet.no
🎨 theme-builder
Everything related to our theme builder
$ tokens
Everything related to tokens and Work related to @digdir/designsystemet-theme
Milestone
This needs to be done soonish as we have copied built tokens values and variable names. This is very brittle as if anything changes due to changes in naming, theme-builder breaks and we manually have to figure out where things are out of sync.
We need a common place or portable way to distribute metadata for our formatted tokens. Which variable name, value, grouping etc.
We currently have a separate build script for building "preview tokens" that outputs this in our Storefront but we also need this information in the theme-builder for preview theming purposes.
Suggested actions:
--preview
),The text was updated successfully, but these errors were encountered: