-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Replace Chakra UI default color palette with Tailwind CSS color palette #49658
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
base: main
Are you sure you want to change the base?
Conversation
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 like where this is going. I agree the dark mode background was too dark too.
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.
Maybe the main page content background is not dark enough now. The contrast is too subtle I think, it's hard (at least for me to read) things in light gray such as History, Health, or Stats.
none: { | ||
"50": { value: "#F7FBFD" }, | ||
"100": { value: "#F3F9FB" }, | ||
"200": { value: "#E4F2F7" }, | ||
"300": { value: "#D8ECF3" }, | ||
"400": { value: "#C8E5EE" }, | ||
"500": { value: "#BDDFEB" }, | ||
"600": { value: "#ADD8E6" }, | ||
"700": { value: "#5FB2CE" }, | ||
"800": { value: "#30819C" }, | ||
"900": { value: "#18414E" }, | ||
"950": { value: "#0C2027" }, | ||
}, |
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 are missing the none
color palette. How are no status
tasks displayed ?
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.
The none
color palette is defined in the semantic tokens section and uses the "gray" color palette.
I've darkened the background and lightened the color for "History", "Health", "Stats" to increase contrast. |
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 tried this and it looks good! |
Is there something blocking merging this PR? |
Just a more detailed review to be sure that everything is working as expected. Brent is planing on doing that but as this will land for 3.1.0 I assume he's focusing on more pressing bug fixes. Also I think we still need to fix the issue mentioned in #49658 (review) (after that I think we can merge it and iterate before 3.1.0 to unblock it, cc: @bbovenzi) |
"900": { value: "oklch(25.9% 0.062 265.566)" }, | ||
"950": { value: "oklch(17.9% 0.050 265.487)" }, | ||
}, | ||
// TAILWIND 4.0 COLORS |
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.
Can we put a url to tailwind 4.0 here for future reference?
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.
@odaneau-astro Do you mind taking a second look at the colors on our buttons and inputs? Would be nice to get this in for 3.1 |
Will have some free time next week to address these issues. What's the cutoff for 3.1? |
@odaneau-astro Sounds good. I think late August. |
✅ Changes made:
🎯 Motivation:
📷 Preview:


closes: #49658