No-Library (pure JS), HTML, CSS, JavaScript
Demonstrates how a website might support the system theme preference with a local override.