Add color scheme detection to site, default to dark for no-preference

This commit is contained in:
hensm
2019-05-21 19:09:04 +01:00
parent 463e49c7a8
commit 937f5e8dc8
3 changed files with 19 additions and 13 deletions

View File

@@ -260,13 +260,7 @@
src="images/preview-bg.png"
srcset="images/preview-bg.png,
images/preview-bg@2x.png 2x">
<img class="preview preview--fg preview--light"
alt="Screenshot preview, foreground"
width="462"
src="images/preview-fg.png"
srcset="images/preview-fg.png,
images/preview-fg@2x.png 2x">
<img class="preview preview--fg preview--dark"
<img class="preview preview--fg"
alt="Screenshot preview, foreground"
width="396"
src="images/preview-fg_macOS.png"