A DRY Approach to Color Themes in CSS
Using a CSS custom property trick to define themes variables only once.
My name is Christopher Kirk-Nielsen, but you can call me Chris. I'm a designer-turned-developer who loves writing code for the web working at MOJO PSG. I have an about page full of random things about me, if you're interested.
I enjoy writing sometimes; you can find my ramblings over on the blog, but your might want to subscribe to the RSS feed since there is no schedule in place. The latest things I wrote are here:
Using a CSS custom property trick to define themes variables only once.
Only show a separator when two items are next to each other, and skip for new lines.