Bramus Van Damme personal blog
The Future of CSS: Easy Light-Dark Mode Color Switching with Light-Dark()
A function that computes to the first color if the used color scheme is light or unknown, or to the second color if the used color scheme is dark.
- Points
- 127
- HN comments
- 70
- Submissions
- 1
- Cited by
- 0 commenters
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Oct 9, 2023 | The Future of CSS: Easy Light-Dark Mode Color Switching with Light-Dark() by dcre | 127 | 70 |