Theme: Add picocss v1.5.11
This commit is contained in:
parent
fe6fab6f1e
commit
74cdb157fd
37 changed files with 3712 additions and 0 deletions
37
themes/ccchh/assets/pico-1.5.11/scss/themes/default.scss
Normal file
37
themes/ccchh/assets/pico-1.5.11/scss/themes/default.scss
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/**
|
||||
* Theme: default
|
||||
*/
|
||||
|
||||
// Variables
|
||||
@import "../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]) {
|
||||
@include dark;
|
||||
}
|
||||
}
|
||||
|
||||
// Dark theme (Forced)
|
||||
// Enabled if forced with data-theme="dark"
|
||||
[data-theme="dark"] {
|
||||
@include dark;
|
||||
}
|
||||
|
||||
// Accent-color
|
||||
progress,
|
||||
[type="checkbox"],
|
||||
[type="radio"],
|
||||
[type="range"] {
|
||||
accent-color: var(--primary);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue