Open ffoodd opened 6 years ago
Using CSS custom properties and localStorage, we can easliy make colors, fonts et all customizable.
See Inclusive components' theme switcher as an example.
I see it more like an assistive tool for users (increase or decreases contrasts and font sizes, at least) as well as a wonderful crash-tester for sseeeedd :D
Including it in every staticwork would be very, very valuable.
This'll be very tight to #41 and #39
Would it be a good idea to use a CSS only configuration, and parsing custom properties as JSON while building? Tommy Hodgins came up with a nice experiment on CodePen.
Jonathan Harrell came up with "Live theming with CSS variables" post.
Using CSS custom properties and localStorage, we can easliy make colors, fonts et all customizable.
See Inclusive components' theme switcher as an example.
I see it more like an assistive tool for users (increase or decreases contrasts and font sizes, at least) as well as a wonderful crash-tester for sseeeedd :D
Including it in every staticwork would be very, very valuable.