Sha256: ecb926b72cc3a44cce46b51317b463a0cd1728c3be78b92207cf791aa121edff

Contents?: true

Size: 501 Bytes

Versions: 11

Compression:

Stored size: 501 Bytes

Contents

---
---

@import "colors";

// this mode is like colors-auto but if the device does not support 
// @media prefers-color-scheme it will default to dark mode
:root {
    @include colors;
    @include light-colors;
  }

@media screen and (prefers-color-scheme: dark) {
  :root{
    @include dark-colors;
  }
}

@media print, (prefers-color-scheme: light) {
  // we would not like to apply dark mode if content is on printer
  // as that would use a lot of ink
  :root {
    @include light-colors;
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jekyll-theme-minimalistic-0.3.11 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.10 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.9 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.8 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.7 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.6 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.5 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.4 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.3 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.2 assets/css/colors-auto.scss
jekyll-theme-minimalistic-0.3.1 assets/css/colors-auto.scss