MazSwitch unclear visual state #1168
Closed
meditation-error
started this conversation in
General
Replies: 2 comments 3 replies
-
Hi @jvandereijk, Thanks for your feedback and you are right. Is something like this better? I will release this UI in the next version. In any case, you can use custom colors, especially on one component by using CSS variables (the colors are not set with JS) Example with the primary one : <MazSwitch
v-model="selected"
style="--maz-color-primary-alpha: red; --maz-color-primary: purple;"
/>
|
Beta Was this translation helpful? Give feedback.
3 replies
-
I just released the v3.47.0 with the UI changes about MazSwitch ! Enjoy ! |
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
-
The default off state for the switch is very colorfull: White foreground+colored background. And when you activate the switch the foreground changes from white to a brighter shade of the background. For me it's hard to tell which one is 'on' without looking at both states.
I think it would be better when the default button wouldn't have a colored background, maybe just gray ( (like het switch buttons from iOS or Android) or black with a gray border, so it's clear that it is off. Unfortunatly the stylings seems to be set with javascript, so I can't override the colors with just css.
Is there another way for me to change this 'off' styling ?
Beta Was this translation helpful? Give feedback.
All reactions