Sha256: c686cb98dccab96e6488e1367aff515709e9e4d535b883f1b90ee438c47a87c5

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 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 light 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

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-minimalistic-0.2.0 assets/css/colors-auto.scss