Re:The Future of CSS: Easy Light-Dark Mode Color Switching w...
by garganzol on Monday October 09, 2023 @06:37PM
(#37826318)
This is so wrong on so many levels. What about Light-Grey-Dark()?
[ Parent
| on HN ]
Re:The Future of CSS: Easy Light-Dark Mode Color Switching w...
by bramus on Tuesday October 10, 2023 @06:35AM
(#37830410)
(Hi, author of the post here) `grey` is no accepted value for `color-scheme`, so that would make no sense.
Note that `light-dark()` is not the end station here, itβs a step towards a future function that (1) would be able to respond to any value for `color-scheme` and (2) can return any type of value.