picocss/scss/themes/default.scss
Caesar Exploit def7bcfcc1
Unnecessary imports
Import @import "../variables"; unnecessary in the file /themes/default.scss, since it is included in pico.slim.scss and pico.scss.
2022-04-21 18:25:22 -05:00

28 lines
528 B
SCSS

/**
* Theme: default
*/
// Variables
@import "default/colors";
// Commons styles
@import "default/styles";
// Light theme (Default)
// Can be forced with data-theme="light"
@import "default/light";
// Dark theme (Auto)
// Automatically enabled if user has Dark mode enabled
@import "default/dark";
@media only screen and (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
@include dark;
}
}
// Dark theme (Forced)
// Enabled if forced with data-theme="dark"
[data-theme="dark"] {
@include dark;
}