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
@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
@chriskirknielsen this is fantastic! Thank you for sharing this!
=> More informations about this toot | More toots from stuffbreaker@mastodon.social
@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
@chriskirknielsen this also answers my question about high-contrast as well!
=> More informations about this toot | More toots from stuffbreaker@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini