pico/scss/themes/default.scss

27 lines
504 B
SCSS
Raw Normal View History

/**
* Theme: default
*/
2021-07-02 16:54:41 +07:00
// Variables
@import "../variables";
@import "default/colors";
2021-07-02 16:54:41 +07:00
// Commons styles
2020-09-29 08:38:35 +07:00
@import "default/styles";
2021-07-02 16:54:41 +07:00
// Light theme (Default)
// Can be forced with data-theme="light"
@import "default/light";
2021-07-02 16:54:41 +07:00
// Dark theme (Auto)
// Automatically enabled if user has Dark mode enabled
@media only screen and (prefers-color-scheme: dark) {
@import "default/dark";
}
// Dark theme (Forced)
// Enabled if forced with data-theme="dark"
[data-theme="dark"] {
@import "default/dark";
}