🎉 new post! Dynamic Colour Schemes With Modern CSS What magical CSS can we use to create not just a quick and dirty colour palette, but a whole colour scheme? Anogulous? Complementary? Triadic? It's all here! https://www.alwaystwisted.com/articles/dynamic-colour-schemes-with-modern-css 🙏🖤
Post
alwaystwisted.comDynamic Colour Schemes With Modern CSSA practical walkthrough of building dynamic, theme-aware colour schemes in CSS with custom properties, OKLCH, color-mix(), and contrast-color().
I opened up the example codepen just before I pushed publish to check it works in Chrome and Firefox (Safari is my day-to-day) and it all seems to work. In reality, I would add fallbacks where appropriate so that browsers that don't support everything (or any of it) still get a usable page. 🙏🖤
0 reposts1 like