Add a primaryColorShade theme property #6599
empz
started this conversation in
Feature requests
Replies: 1 comment
-
It would be great to be able to specify primary shades for each individual color, defaulting to the global |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When adding a new color using the generator, the tool will automatically decide where in the shade the base color is. That's okay, but it also means that a button primary will have the base color as the primary, but a different shade.
Take this color for example: https://mantine.dev/colors-generator/?color=983fff
I want the button (and every other component that has a color) to use this primary color, but the shade 4. Setting
primaryShade: 4
in the theme changes the default shade for ALL colors, which is very inconvenient. I thought the primaryShade would only affect the primaryColor, but that's not the case. I think there should be a way to change the primaryShade only for the primaryColor. Maybe a new theme prop likeprimaryColorShade
.Beta Was this translation helpful? Give feedback.
All reactions