#Switch custom style

10 messages · Page 1 of 1 (latest)

grizzled pewter
#

Hi , I'm trying to make the switcher take a custom color when it becomes checked but my style is not applied , how can I do it ?

jade wyvern
grizzled pewter
#

color prop takes only MantineColor , i want to use a custom color

jade wyvern
grizzled pewter
#

kindly see my code I already use track and it change the switch color when it is unchecked only

#

@peak coral can u help please ?

peak coral
grizzled pewter
grizzled pewter
#

this helps me , may it help other with same issue : https://mantine.dev/theming/colors/

React components and hooks library with native dark theme support and focus on usability, accessibility and developer experience