update checked state as well

This commit is contained in:
emma 2022-12-14 02:29:40 +00:00
parent 1d01475f7a
commit 153c4d251f
1 changed files with 2 additions and 1 deletions

View File

@ -438,7 +438,8 @@ textarea,
&:checked + label::before {
box-shadow: 0 0 2px black inset, 0 0 0 4px $fallback--fg inset;
box-shadow: var(--inputShadow), 0 0 0 4px var(--fg, $fallback--fg) inset;
box-shadow: 0 0 0 1px var(--icon, $fallback--icon) inset,
0 0 0 4px var(--fg, $fallback--fg) inset;
background-color: var(--accent, $fallback--link);
}