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