Sha256: af58ce21f5a9ee8d3ba1fd09066bb2c2367d4281f5c0ca9b5310573243bbf0ec
Contents?: true
Size: 501 Bytes
Versions: 5
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 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
5 entries across 5 versions & 1 rubygems