Only extends part of tokens #1015
-
i did that to only extends the color, but i'm not sure this is the best options. We could have theme generators, usually though while starting a project, it's ok to keep many base token, but specify only some like color
|
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Jul 10, 2023
Replies: 1 comment 2 replies
-
Hi @jocelinqueau, You want to define your tokens in |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @jocelinqueau,
You want to define your tokens in
theme.extend.tokens
instead oftheme.tokens
. The former means "extend", the later means "override"