How to use custom color via components props? #3452
Unanswered
abdullahtariq1171
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Lets say our theme has a color
maroon
that we've added intailwind.config.ts
pluginNow I want to use that color for my Button prop
<Button color='maroon'> Click me </Button>
I'm using "@nextui-org/react": "^2.3.6", "@nextui-org/system": "^2.0.7", and "@nextui-org/theme": "^2.2.3",
Beta Was this translation helpful? Give feedback.
All reactions