designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

`add-theme` script for design-tokens

Open mimarz opened this issue 8 months ago • 0 comments

Requested feature from Slack for an option to use our cli @digdir/designsystemet to add scaffold new themes to design-tokens with our predefined json structure.

One obvious parameter would be theme name and colors, which again would need interop with private Token Studio files 🤔

For example npx @digdir/designsystemet add-theme Altinn --colors "#0062BA, #1E2B3C, ##F45F63, #E5AA20, #1E98F5"

mimarz avatar May 30 '24 11:05 mimarz