Skip to content

Color tokens missing from theme #5257

Answered by asyncLiz
Pandroo asked this question in Q&A
Discussion options

You must be logged in to vote

We suggest using the material-web.dev color picker utility, which will generate a theme and allow you to copy all the correct tokens.

We're working on a better theme builder, but unfortunately right now the color utilities package uses an older token set schema.

You can also check out or copy our catalog code which directly interacts with @material/color-utilities and adds the right token support. Reference that if you need to generate the theme dynamically at runtime.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pandroo
Comment options

Answer selected by Pandroo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants