fix: couple css improvements for webkit-based browsers

introduces a new mixin to handle webkit-based shenanigans.
also adds a mixin to make keyboard navigation easier.
and other small tweaks to css(like accent color and color scheme).
This commit is contained in:
zyachel
2022-12-31 22:10:19 +05:30
parent 57b050f196
commit 81eaf2fd5e
6 changed files with 56 additions and 2 deletions

View File

@ -34,7 +34,9 @@ $_light: (
transparent 70%
),
radial-gradient(at 72% 55%, hsla(344, 79%, 40%, 0.2) 0px, transparent 50%)
)
),
// changes color of native html elemnts, either 'light' or 'dark' must be set.
scheme: light
);
$_dark: (
@ -54,6 +56,7 @@ $_dark: (
radial-gradient(at 23% 32%, hsla(344, 79%, 40%, 0.04) 0px, transparent 70%),
radial-gradient(at 72% 55%, hsla(344, 79%, 40%, 0.05) 0px, transparent 50%),
),
scheme: dark,
);
$themes: (