minor fix for button/sliders colors (#4715)
in table buttons will render if the theme color contains linear gradient and sliders looks grey. This commit make a minor fix for them.
This commit is contained in:
parent
75abaf3ba7
commit
1209283b51
@ -174,6 +174,7 @@ export default createGlobalStyle<Props & ThemeProps>(({ theme, uiHighlight }: Pr
|
||||
|
||||
.ui--Icon {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
color: ${getHighlight(uiHighlight)};
|
||||
}
|
||||
}
|
||||
@ -202,7 +203,7 @@ export default createGlobalStyle<Props & ThemeProps>(({ theme, uiHighlight }: Pr
|
||||
.ui--Toggle.isChecked {
|
||||
&:not(.isRadio) {
|
||||
.ui--Toggle-Slider {
|
||||
background-color: ${getHighlight(uiHighlight)} !important;
|
||||
background: ${getHighlight(uiHighlight)} !important;
|
||||
|
||||
&:before {
|
||||
border-color: ${getHighlight(uiHighlight)} !important;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user