2021.02.28.beta28+j0yu.0.1.0: Squash of 00e37022..b6248c0c
Pre-release
Pre-release
Proof of concept to myself for using GoogleChromeLabs/dark-mode-toggle
See initial dark-mode-toggle-test branch changes and pradyunsg#24
Requires
- Internet connection to pull https://googlechromelabs.github.io/dark-mode-toggle/src/dark-mode-toggle.mjs
Added
-
<dark-mode-toggle>
tag afterbrand_content
block -
Dockerfile for setting up a
nox -s docs-live
environment on0.0.0.0:1919
Usage for modern Docker (uses --iidfile):
docker build --rm -f docs/_static/Dockerfile --iidfile build/id docs/_static docker run --rm -it \ -w "$PWD" -v "$PWD":"$PWD" \ -e LIVE_HOST="0.0.0.0" -e LIVE_PORT="1919" -p 1919:1919 \ -u "$(id -u):$(id -g)" \ --name sphinx --hostname sphinx \ "$(cat build/id)" xdg-open http://localhost:1919/
Changed
-
Moved all
@media (prefers-color-scheme: dark)
styling into:- It's own sass/scss files (inheriting original
furo.sass
) - Separate
<style media="(prefers-color-scheme: dark)">
block
- It's own sass/scss files (inheriting original