ffoodd / sseeeedd

Seed for front-end culture :)
https://ffoodd.github.io/sseeeedd/
15 stars 2 forks source link

Create a theme customizer #47

Open ffoodd opened 6 years ago

ffoodd commented 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.

ffoodd commented 6 years ago

This'll be very tight to #41 and #39

ffoodd commented 5 years ago

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.

ffoodd commented 5 years ago

Jonathan Harrell came up with "Live theming with CSS variables" post.