I 've just updated this site to include the
prefers-color-scheme CSS media feature. If you've set a preferred light or dark viewing preference scheme on your device, you'll see the
respective colour scheme on this site.
By default this site has a light background with dark text (there is no need to declare any specific CSS classes for light mode), but if you have dark mode enabled then I switch the background and text colours.
(I'm a little undecided whether to set the light/dark mode automatically or enable the user to toggle the setting. For now, I'll go with the device setting.)
Read more about this at MDN web docs.
*Be sure to declare the
prefers-color-scheme values below your primary CSS.