๐Ÿš€๐Ÿค– Meet DiffX: the "next-gen" diff format that promises to #revolutionize everything by... toggling between light and dark modes. ๐ŸŒ—๐Ÿคนโ€โ™‚๏ธ With a riveting collection of section hierarchies and encoding rules, this ๐Ÿฅฑ groundbreaking format will make your diffs as exciting as watching paint dry in HD.
https://diffx.org/ #DiffX #NextGen #LightDarkMode #SectionHierarchies #EncodingRules #HackerNews #ngated
DiffX - Next-Generation Extensible Diff Format

โšซ๐ŸŸก No Fuss Light/Dark Modes
by @chriscoyier
at @frontendmasters
#webdev #LightDarkMode #webdev

https://frontendmasters.com/blog/no-fuss-light-dark-modes/

No Fuss Light/Dark Modes โ€“ Frontend Masters Boost

One approach to color modes it to do it all in CSS with prefers-color-scheme media queries and/or the light-dark() function. A user toggle can be a future improvement.

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.

Bram.us