style: switch

This commit is contained in:
Lucas Larroche 2024-01-28 11:11:34 +07:00
parent 97f3f13aa5
commit 33ef3f5f4f
125 changed files with 756 additions and 360 deletions

View file

@ -141,8 +141,9 @@
// Switch (input[type="checkbox"][role="switch"])
@if map.get($modules, "forms/checkbox-radio-switch") {
#{$css-var-prefix}switch-background-color: #{$slate-750};
#{$css-var-prefix}switch-color: #{$white};
#{$css-var-prefix}switch-checked-background-color: var(#{$css-var-prefix}primary-background);
#{$css-var-prefix}switch-color: #{$white};
#{$css-var-prefix}switch-thumb-box-shadow: theme-colors.get("switch-thumb-box-shadow", "dark");
}
// Range (input[type="range"])