Claro
0%
Escuro
100%
Poll ended at .
🚀🤖 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 – 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