You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root element wraps arond the clickable box, but if you want to change box styles, you should select it like this: `.color-input.user .box`.
459
468
@@ -465,17 +474,16 @@ _Changing size of the root element independently from the box will mess with how
465
474
466
475
Inline styles will only let you style the root element, which is typically not what you want to style very often.
467
476
468
-
### Use `.color-input.user` to override default styles
477
+
### Use `.user` to override default styles
469
478
470
-
There is no need to use `!important`. Default styles are easily overridable by adding specificity to the selectors with `.color-input.user .<classname>`.
479
+
There is no need to use `!important`. Default styles are easily overridable by adding specificity to the selectors with `.color-input.user .box` or `.picker-popup.user`.
471
480
472
481
And if you use scss that's even more natural with nesting:
0 commit comments