fix: keyboard unable to target theme switcher (#488)
This commit is contained in:
parent
fc4433e640
commit
24b360cb17
1 changed files with 2 additions and 1 deletions
|
@ -224,7 +224,8 @@ button:hover {
|
||||||
border-radius: 99em;
|
border-radius: 99em;
|
||||||
background-color: var(--theme-bg);
|
background-color: var(--theme-bg);
|
||||||
}
|
}
|
||||||
#theme-toggle:focus-within {
|
|
||||||
|
#theme-toggle > label:focus-within {
|
||||||
outline: 2px solid transparent;
|
outline: 2px solid transparent;
|
||||||
box-shadow: 0 0 0 0.08em var(--theme-accent), 0 0 0 0.12em white;
|
box-shadow: 0 0 0 0.08em var(--theme-accent), 0 0 0 0.12em white;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue