Migrate to bulma-css-variables and introduce dark mode #954

Merged
konrad merged 72 commits from adrinux/frontend:bulma-css-variables into main 2021-11-22 21:12:55 +00:00
Showing only changes of commit d923a73827 - Show all commits

View File

@ -843,20 +843,18 @@ $flash-background-duration: 750ms;
}
&:not(:disabled) {
// HACK: these styles are repeated from bulma-css-variables/sass/form/shared.sass
$input-background-color: var(--scheme-main, #{$scheme-main});
$input-border-color: var(--border, #{$border});
$input-focus-border-color: var(--link, #{$link});
&:hover, &:active {
background: $input-background-color;
border-color: $input-border-color;
&:hover,
dpschen marked this conversation as resolved Outdated

Remove hack and replace colors with vars directly

Remove hack and replace colors with vars directly

Done!

Done!
&:active,
&:focus {
background: var(--scheme-main);
border-color: var(--border);
cursor: text;
}
&:focus {
background: $input-background-color;
border-color: $input-focus-border-color;
&:hover,
&:active {
cursor: text;
border-color: var(--link)
}
}
}