You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how easily done this is within GitHub Pages, and this is purely a wishlist idea, but ideally... autodetect the browser/operating system's dark mode, using this simple CSS rule for example:
As an example (besides MDN's own website), Foreign Affairs does a fantastic job at providing a beautiful automatic dark variant of their website to their readers when the operating system requests it.
The text was updated successfully, but these errors were encountered:
We are using the default Minima 2.5 whose readme also describes how to override parts of the page and CSS (which I have already used here).
We could also create our own custom style based on (default) libadwaita/gtk style maybe, or try to use the gnome-made one (but I'm not sure if it has dark mode support).
I don't know how easily done this is within GitHub Pages, and this is purely a wishlist idea, but ideally... autodetect the browser/operating system's dark mode, using this simple CSS rule for example:
See this technical reference article on MDN for more details.
As an example (besides MDN's own website), Foreign Affairs does a fantastic job at providing a beautiful automatic dark variant of their website to their readers when the operating system requests it.
The text was updated successfully, but these errors were encountered: