mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-11 20:08:56 +00:00
Fix checked switch styles in Shoelace theme (#1641)
This commit is contained in:
@@ -457,7 +457,7 @@
|
||||
border-color: var(--wa-color-gray-50);
|
||||
}
|
||||
|
||||
&[checked]::part(control) {
|
||||
&:state(checked)::part(control) {
|
||||
background-color: var(--wa-form-control-activated-color);
|
||||
border-color: var(--wa-form-control-activated-color);
|
||||
}
|
||||
@@ -466,7 +466,7 @@
|
||||
background-color: var(--wa-color-surface-default);
|
||||
border: var(--wa-border-width-s) var(--wa-border-style) var(--wa-color-gray-50);
|
||||
}
|
||||
&[checked]::part(thumb) {
|
||||
&:state(checked)::part(thumb) {
|
||||
border-color: var(--wa-form-control-activated-color);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user