-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix chart colors #114
base: main
Are you sure you want to change the base?
fix chart colors #114
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I think I'm happy with the blue that's there already - was there a rationale behind changing the colour to red? |
It's the default shadcn colors as it turns out. I can patch the variables in the tailwind config back to blue. |
Yeah let's keep it blue. But - nice, don't want to rely on the implicit defaults |
see https://ui.shadcn.com/docs/components/chart#using-colors Colors can be changed with the `chart` varaibles in tailwind.css
98591fe
to
72869ec
Compare
Got the blue converted to hsl and chucked it in the *example palette: [[354,65.442,55.888],
[290,66.44,55.066],
[338,69.251,57.743],
[310,70.709,56.371],
[323,70.625,59.318]] |
see https://ui.shadcn.com/docs/components/chart#using-colors
Colors can be changed with the
chart
variables in tailwind.css