styles: adjust styling for different themes

This commit is contained in:
Antonella Sgarlatta
2021-05-06 12:06:30 -03:00
parent 1943b34fdf
commit 181e1985fd
5 changed files with 19 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ export const Switch: FunctionalComponent<SwitchProps> = (
setChecked(event.target.checked);
props.onChange(event.target.checked);
}}
className={`sn-switch ${checked ? 'bg-info' : 'bg-secondary-contrast'}`}
className={`sn-switch ${checked ? 'bg-info' : 'bg-neutral'}`}
>
<CustomCheckboxInput
{...({