common: select style by class name from sass css
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 15 Jun 2024 01:16:29 +0000 (03:16 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 7 Aug 2024 20:42:20 +0000 (22:42 +0200)
commit20883523f524360de2c7758b02d15be980ed08c3
tree2ae889a80d4deaddd65046cbf23d557e23fb5ebc
parentf35a681178dbc9a466546f8d1613f93a312def0a
common: select style by class name from sass css

Combine all style options into light.css under s-* classes, enabled on html
root instead of loading a separate stylesheet.  Javascript for monochrome
media selection, otherwise identical behaviour.

Previously separate includes grow the resulting file from 16kB to 26kB.
Requires popular sassc for compilation and minification (replacing the
custom stripcss script).
Makefile
common.inc.plp
style/_base.scss [moved from base.css with 100% similarity]
style/_circus.scss [moved from circus.css with 98% similarity]
style/_dark.scss [moved from dark.css with 99% similarity]
style/_darklite.scss [moved from darklite.css with 96% similarity]
style/_lite.scss [moved from lite.css with 92% similarity]
style/_mono.scss [moved from mono.css with 98% similarity]
style/_red.scss [moved from red.css with 99% similarity]
style/light.scss [new file with mode: 0644]
style/sc.scss [moved from sc.css with 100% similarity]