Fix switch component having a white border in dark mode

pull/10467/head
Thibaud Colas 2023-05-23 09:22:33 +01:00
rodzic aca7159b45
commit 4d4feb2ca0
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -45,8 +45,8 @@ $switch-border-radius: math.div(($switch-height + $switch-border * 2), 2);
height: $switch-height + $switch-border * 2;
width: $switch-width + $switch-border * 2;
border-radius: $switch-border-radius;
background: theme('colors.icon-secondary');
border: $switch-border solid theme('colors.icon-secondary');
background: theme('colors.text-placeholder');
border: $switch-border solid theme('colors.text-placeholder');
}
&::after {
@ -58,7 +58,7 @@ $switch-border-radius: math.div(($switch-height + $switch-border * 2), 2);
);
height: $switch-height;
width: $switch-height;
border: $switch-border solid theme('colors.text-button');
border: $switch-border solid theme('colors.surface-page');
border-radius: theme('borderRadius.full');
background-color: theme('colors.surface-page');
}