Sha256: ea6ef682e0bed508ad9e4e79828c8f9260b3980b0f731cfbdba5d4624ea2b43d
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 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 dark-colors; @include code-highlights; @include highlights-dark; } @media screen and (prefers-color-scheme: dark) { :root{ @include dark-colors; @include highlights-dark; } } @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; @include highlights-light } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-minimalistic-0.4.1 | assets/css/colors-auto.scss |
jekyll-theme-minimalistic-0.4.0 | assets/css/colors-auto.scss |