-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Design system: button theming #13822
Conversation
"solid" default variant, "outline" includes color, `isSecondary` removes color from default outline/ghost states
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
tailwind.config.ts
Outdated
@@ -203,7 +203,7 @@ const config = { | |||
0px -3px 2px 0px rgba(0, 0, 0, 0.14) inset`, | |||
// TODO: From current theme. Deprecate for 'button-hover' | |||
primary: "4px 4px 0px 0px hsla(var(--primary))", | |||
"button-hover": "4px 4px 0 0 hsla(var(--primary-low-contrast))", | |||
"button-hover": "4px 4px 0 0 hsla(var(--orange-900))", |
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.
We're approaching a point where we have no more references to the orange color palette, and it is not present in the DS... The full yellow color palette is being imported in a separate branch. After that, we can migrate this to --yellow-900
and should be able to remove the entire orange palette.
deprecate single-use `button-hover` tailwind token; applied directly at ui/button component level
tw `primary`, `button-hover` shadow tokens; chakra `primary` shadow token
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.
from what I reviewed on the browser, all seem great. LFG
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.
Nice job @wackerow lgtm
Extends
colors-1
branch in PR:(Can be merged in any order)
Description
buttonVariants
in newui/buttons/Button.tsx
component.Figma:
Related Issue
Design system