Skip to content

Commit ec39cb1

Browse files
committed
fix: improve focus accent
1 parent 59a811c commit ec39cb1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/assets/styles/main.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ $icon-font-path: '../icon-font' !default;
3838
&:focus,
3939
&:focus:before {
4040
outline: none;
41-
text-shadow: 0 0 1em var(--color-text);
41+
text-shadow:
42+
0 0 0.1em var(--color-accent),
43+
0 0 0.2em var(--color-accent),
44+
0 0 0.3em var(--color-accent),
45+
0 0 0.8em var(--color-text),
46+
0 0 1em var(--color-text);
4247
}
4348
}
4449

0 commit comments

Comments
 (0)