Ancestors

Toot

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

Descendants

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

Written by Burton Smith on 2024-11-10 at 15:59

@chriskirknielsen this is fantastic! Thank you for sharing this!

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

Written by Christopher Kirk-Nielsen on 2024-11-10 at 16:31

@stuffbreaker Yeah of course! Definitely the kind of feature I would use all over the place once available haha.

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

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

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

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