Skip to content

Reference to modes colors value #2172

Answered by hasparus
ppsirius asked this question in Q&A
Discussion options

You must be logged in to vote

https://codesandbox.io/s/agitated-rhodes-r3u6u0?file=/pages/index.tsx

The default variant for a button is buttons.primary, not buttons.primaryButton. You can use the buttons.primaryButton variant you defined as follows

      <Button variant="primaryButton">Click me</Button>

You can use buttons.primary like this:

      <Button>Click me</Button>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lachlanjc
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