changed hsl alpha channel to non-percent number

This commit is contained in:
westtle 2024-02-14 14:14:53 +07:00
parent 38f39999b5
commit 3b50d02d0d
2 changed files with 4 additions and 4 deletions

View file

@ -12,13 +12,13 @@
--cod-gray: 0, 0%, 6%;
--gray: 0, 0%, 58%;
--color-1: var(--black), 80%;
--color-1: var(--black), 0.8;
--color-2: var(--white);
--color-3: var(--gray); /* Placeholder and Icons */
}
:root[data-theme="dark"] {
--color-1: var(--white), 80%;
--color-1: var(--white), 0.8;
--color-2: var(--cod-gray);
color-scheme: dark;
@ -76,7 +76,7 @@ ul { list-style: none; }
:focus-visible {
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);
}

View file

@ -88,7 +88,7 @@ Settings
}
.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 */