aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/assets/style.sass
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-27 13:58:13 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-27 13:58:13 -0400
commit48f3534fade8ecf107b5d797d2ddcc30520e798f (patch)
tree9e51aa4c0242bbea06cb110d98a6a8c02db2db70 /themes/hugo-pt2021/assets/style.sass
parent2c6fe60f0fa20e7d57d690e188ba39fe4aa6804a (diff)
downloadpablotron.org-48f3534fade8ecf107b5d797d2ddcc30520e798f.tar.bz2
pablotron.org-48f3534fade8ecf107b5d797d2ddcc30520e798f.zip
themes/hugo-pt2021: add dark mode
Diffstat (limited to 'themes/hugo-pt2021/assets/style.sass')
-rw-r--r--themes/hugo-pt2021/assets/style.sass7
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/assets/style.sass b/themes/hugo-pt2021/assets/style.sass
index 9a241a7..3b3fbb6 100644
--- a/themes/hugo-pt2021/assets/style.sass
+++ b/themes/hugo-pt2021/assets/style.sass
@@ -71,3 +71,10 @@
// table captions below tables
table.table
caption-side: bottom
+
+// dark mode (2024-05-27)
+//
+// this isn't perfect, there is screen tearing when dark mode
+// is enabled and the page first loads. see notes in script.js
+// and dark.sass
+@import "dark"