Ancestors

Written by Burton Smith on 2024-11-10 at 14:34

Does anyone know if there are plans to support more values than just colors for the #css light-dark() function? I would love to be able to set shadows and font-weight as well.

=> More informations about this toot | More toots from stuffbreaker@mastodon.social

Written by Christopher Kirk-Nielsen on 2024-11-10 at 14:55

@stuffbreaker It is planned with schemed-value(): https://www.bram.us/2023/10/09/the-future-of-css-easy-light-dark-mode-color-switching-with-light-dark/#schemed-value (I opened and quickly closed an issue for it: https://github.com/w3c/csswg-drafts/issues/10152)

=> More informations about this toot | More toots from chriskirknielsen@front-end.social

Toot

Written by Burton Smith on 2024-11-10 at 16:12

@chriskirknielsen this also answers my question about high-contrast as well!

=> More informations about this toot | More toots from stuffbreaker@mastodon.social

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113459535962538960
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
264.739615 milliseconds
Gemini-to-HTML Time
0.492097 milliseconds

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