-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issue 14 create a generic button component #18
Conversation
client/tailwind.config.ts
Outdated
@@ -23,6 +23,7 @@ const config = { | |||
sans: ["var(--font-sans)", ...fontFamily.sans], | |||
}, | |||
colors: { | |||
customPrimary: "hsl(var(--customPrimary))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could use penni-main:"#0051CA"
here to make it more semantic.
good job tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found variables like "--customPrimary
" should be included in global.css
, I added this var in global.css
like the 16th line: --customPrimary: 225, 100%, 40%; /*#0051CA Penni Blue*/
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add "penni-main“:"#0051CA"
here and use it like className="bg-penni-main"
we use tailwind css so, from my perspective, we should configure the theme color in tailwind.config.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll modify it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use dash-case for the CSS
Change Summary
Created a generic button component with the requirement of penni design
Added CSS attributes
Change Form
Related issue