From 48f3534fade8ecf107b5d797d2ddcc30520e798f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 27 May 2024 13:58:13 -0400 Subject: themes/hugo-pt2021: add dark mode --- themes/hugo-pt2021/assets/style.sass | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'themes/hugo-pt2021/assets/style.sass') 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" -- cgit v1.2.3