My website now adapts to dark system themes

protesilaos.com now conforms with the web standard on system-wide theme preferences (see prefers-color-scheme). This is not a per-website option. It does not require changes from your side. It is just about respecting the user’s choice on using a light/dark theme throughout their operating system.

Those who opt for a dark theme in their system settings will view this website in dark colours. Otherwise they will get the default, lighter looks. Either way, the presentation should conform with the highest accessibility standard (WCAG AAA).

Several aspects of the website’s underlying code base have been refactored. If, despite my best intentions, you feel something is amiss, please do contact me.