fix: theme button focus state
This commit is contained in:
parent
17df90d0b1
commit
eb3656f451
3 changed files with 10 additions and 4 deletions
|
@ -21,13 +21,19 @@ button {
|
|||
&:not(.theme-toggle, .active):active,
|
||||
&:not(.theme-toggle, .active):focus,
|
||||
&:not(.theme-toggle, .active):focus-within {
|
||||
outline: 2px dashed var(--accent-color);
|
||||
background-color: var(--accent-color-hover);
|
||||
border-color: var(--accent-color-hover);
|
||||
transition-timing-function: var(--transition-ease-in-out);
|
||||
transition-duration: var(--transition-duration-default);
|
||||
}
|
||||
|
||||
&:not(.active):hover,
|
||||
&:not(.active):active,
|
||||
&:not(.active):focus,
|
||||
&:not(.active):focus-within {
|
||||
outline: 2px dashed var(--accent-color);
|
||||
}
|
||||
|
||||
&.small {
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: var(--line-height-sm);
|
||||
|
|
Reference in a new issue