freedive/assets/css/bulma/sass/themes/_index.scss

36 lines
686 B
SCSS
Raw Normal View History

2024-05-09 22:49:57 +02:00
/* Bulma Themes */
@charset "utf-8";
@use "../utilities/css-variables" as cv;
@use "light";
@use "dark";
@use "setup";
:root {
@include light.light-theme;
@include setup.setup-theme;
}
// prefers-color-scheme: light
@include cv.system-theme($name: "light") {
@include light.light-theme;
}
// prefers-color-scheme: dark
@include cv.system-theme($name: "dark") {
@include dark.dark-theme;
}
// :root, [data-theme=light], .theme-light
@include cv.bulma-theme($name: "light") {
@include light.light-theme;
@include setup.setup-theme;
}
// [data-theme=dark], .theme-dark
@include cv.bulma-theme($name: "dark") {
@include dark.dark-theme;
@include setup.setup-theme;
}