Post

Been hard at work to create an opinionated CSS framework. Best thing in it is what I dubbed <color-mode>. It sets a a color palette and everything inherits from it. The possibilities it opens for composing is positively bonkers. Got 4 different button variants, but color is not an axis. 🧵

Sounds like madness, but really it’s just OKLCH being an absolute top dog. Making it easy to swap out palettes left and right.

0 reposts3 likes

You could still use triads, complementary and so on because the a neutral also has a hue. Unless it's totally void of saturation of course, but that ain' no fun!

I feel like that would be the hardest part :D Though I've found that using a neutral palette with just a smidge of color in combination with a saturated accent does wonders. In other words: keep saturation low so that when you want some it doesn't have to compete.