JavaScript is required to toggle light/dark mode..
Note
The TRAC Runtime for Python is available to download and install from pypi.org.