Don't allow browsers to ignore outline color

This commit is contained in:
James Lyne 2022-06-27 23:20:48 +01:00
parent edbdb712d5
commit 479cab9b4d
2 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@
}
@mixin button-focused {
outline: var(--outline-focus) auto thick !important;
outline: var(--outline-focus) solid thick !important;
z-index: 1;
border-color: var(--background-dark);
}

View File

@ -114,11 +114,11 @@ input {
}
:focus {
outline: var(--outline-focus) auto thick !important;
outline: var(--outline-focus) solid thick !important;
}
:focus-visible {
outline: var(--outline-focus) auto thick !important;
outline: var(--outline-focus) solid thick !important;
}
.checkbox {
@ -165,7 +165,7 @@ input {
&:focus ~ span:after {
content: '';
outline: var(--outline-focus) auto thick;
outline: var(--outline-focus) solid thick;
position: absolute;
top: 0;
right: -0.5rem;