-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a colors
script in our cli
#1886
Labels
cli
@digdir/designsystemet
Milestone
Comments
mimarz
added
the
⚙️ technical
Technical improvements, maintenance or other issues that are not directly linked to a feature
label
Apr 26, 2024
Duplicate of #2085 |
Re-opened as @Thuneer is going to move the logic for colors to |
mimarz
changed the title
Introduce a "colors" script in our cli
Introduce a Jun 5, 2024
colors
script in our cli
mimarz
added
cli
@digdir/designsystemet
and removed
⚙️ technical
Technical improvements, maintenance or other issues that are not directly linked to a feature
labels
Jun 5, 2024
This was solved by #2290 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With our new token structure we have the feature of auto-generating color scales for
accent
color.We want to add the logic for generating the color scales in the cli so we can re-use it several places such as figma plugins, websites or just as pure cli script.
The color function should have names props for each color definition. When exposed through the
cli
, the color set could be a comma separated string.For example
npx @digdir/designsystemet add-theme Altinn --colors "#0062BA, #1E2B3C, ##F45F63, #E5AA20, #1E98F5"
The text was updated successfully, but these errors were encountered: