Enhanced switch A11Y

>
>
Co-authored-by: Minybol <aimabol@skiff.com>
This commit is contained in:
AntoineÐ 2023-11-28 23:29:26 +01:00 committed by Laura Hausmann
parent 70ee2b9258
commit 1c06b84011

View file

@ -69,6 +69,7 @@ function toggle(x) {
transition: inherit;
user-select: none;
pointer-events: none;
outline: solid 2.5px var(--swutchOffFg);
> .knob {
position: absolute;
@ -124,6 +125,7 @@ function toggle(x) {
> input:checked ~ .button {
background-color: var(--swutchOnBg) !important;
border-color: var(--swutchOnBg) !important;
outline: solid 2.5px var(--swutchOnFg);
> .knob {
left: 12px;