Fix css naming

This commit is contained in:
windingwind 2023-12-20 19:47:07 +08:00 committed by Dan Stillman
parent 91ec79401d
commit 695e7f7975
2 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@
@media not (-moz-platform: windows) {
--color-accent: SelectedItem;
}
--color-focus-search-color: color-mix(in srgb, var(--color-accent) 70%, transparent);
--color-focus-search: color-mix(in srgb, var(--color-accent) 70%, transparent);
@media (-moz-platform: windows) {
@include light-dark(--color-focus-border, #000, #fff);
--width-focus-border: 2px;

View file

@ -20,8 +20,8 @@
&:focus {
outline: none;
border-color: var(--color-focus-search-color);
box-shadow: 0 0 0 calc(var(--width-focus-border) - 1px) var(--color-focus-search-color);
border-color: var(--color-focus-search);
box-shadow: 0 0 0 calc(var(--width-focus-border) - 1px) var(--color-focus-search);
}
}
@ -54,7 +54,7 @@ search-textbox {
&:focus {
outline: none;
border-color: transparent;
box-shadow: 0 0 0 var(--width-focus-border) var(--color-focus-search-color);
box-shadow: 0 0 0 var(--width-focus-border) var(--color-focus-search);
}
}