changed hsl alpha channel to non-percent number
This commit is contained in:
parent
38f39999b5
commit
3b50d02d0d
2 changed files with 4 additions and 4 deletions
|
@ -12,13 +12,13 @@
|
||||||
--cod-gray: 0, 0%, 6%;
|
--cod-gray: 0, 0%, 6%;
|
||||||
--gray: 0, 0%, 58%;
|
--gray: 0, 0%, 58%;
|
||||||
|
|
||||||
--color-1: var(--black), 80%;
|
--color-1: var(--black), 0.8;
|
||||||
--color-2: var(--white);
|
--color-2: var(--white);
|
||||||
--color-3: var(--gray); /* Placeholder and Icons */
|
--color-3: var(--gray); /* Placeholder and Icons */
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[data-theme="dark"] {
|
:root[data-theme="dark"] {
|
||||||
--color-1: var(--white), 80%;
|
--color-1: var(--white), 0.8;
|
||||||
--color-2: var(--cod-gray);
|
--color-2: var(--cod-gray);
|
||||||
|
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
|
@ -76,7 +76,7 @@ ul { list-style: none; }
|
||||||
|
|
||||||
:focus-visible {
|
:focus-visible {
|
||||||
outline: 0.125rem solid;
|
outline: 0.125rem solid;
|
||||||
outline-color: hsla(var(--color-1, 0 0% 0% 100%));
|
outline-color: hsla(var(--color-1, 0 0% 0% 1));
|
||||||
outline-offset: var(--focus-offset, 0);
|
outline-offset: var(--focus-offset, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ Settings
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings__buttons,
|
.settings__buttons,
|
||||||
.settings__button--toggle-settings { box-shadow: 0 0.0625rem 0.25rem hsl(0, 0%, 0%, 25%); }
|
.settings__button--toggle-settings { box-shadow: 0 0.0625rem 0.25rem hsl(0, 0%, 0%, 0.25); }
|
||||||
|
|
||||||
/* Settings > SVG */
|
/* Settings > SVG */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue