Toot

Written by Koos Looijesteijn on 2024-12-17 at 12:30

@sixohsix yeah, you're right, that particular issue happened on my personal site. oklab() and oklch() are super handy for creating color variations! You can generate a whole color palette based on one or two brand color values. There are still some issues with it (like, using only CSS calc() you can create out of gamma values), so for work I'd only use it for enhancements, like for shadows: https://www.kooslooijesteijn.net/blog/shadows-have-colors

Easy enough to provide fallbacks there.

=> More informations about this toot | View the thread | More toots from koos@octodon.social

Mentions

=> View sixohsix@icosahedron.website profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113668170891203286
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.009421 milliseconds
Gemini-to-HTML Time
0.284876 milliseconds

This content has been proxied by September (3851b).