aboutsummaryrefslogtreecommitdiff
path: root/htmx/static/pico-1.5.11/docs/scss/themes/_docs.scss
blob: 5fe0b76d6761bb7e9142e2fda93d92da02ff70b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * Theme: Additions for docs
 */

@import "../../../scss/themes/default/colors";
@import "docs/icons";

// Light theme (Default)
// Can be forced with data-theme="light"
@import "docs/light";

// Dark theme (Auto)
// Automatically enabled if user has Dark mode enabled
@import "docs/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;
}