News for hackers. Stuff that matters.
Re:The Future of CSS: Easy Light-Dark Mode Color Switching w... by incrudible on Monday October 09, 2023 @06:47PM (#37826414)
God forbid someone adds practical features for common use cases to our beautiful turing tarpit.
Re:The Future of CSS: Easy Light-Dark Mode Color Switching w... by swatcoder on Monday October 09, 2023 @07:12PM (#37826635)
You can have both. But good tool design looks at the horizon, not just at your feet.

You could deliver the same convenience in a way that’s set up to be repurposable (fullcolor /rgcolorblind) or extensible (light / grey / dark / …n) with as little difference as choosing a more mindful name.

Re:The Future of CSS: Easy Light-Dark Mode Color Switching w... by imachine1980_ on Monday October 09, 2023 @06:58PM (#37826509)
I agree with the previous comment that the current approach lacks flexibility in achieving high contrast. It might be beneficial to consider a more general and adaptable method that can accommodate different styles or even introduce primitives for different styles in the future