summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-27 21:28:52 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-27 21:28:52 +0200
commit0061e86084beb5ffd6acfad926d44dd49a00664a (patch)
tree2a7c126286ebf910a122b4b07cd45174cdc1e20d /assets
parent6395d1ec4362fedd7854fc9a103bad8bf7ae5d3d (diff)
Fix theme switch
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/main.sass9
1 files changed, 5 insertions, 4 deletions
diff --git a/assets/sass/main.sass b/assets/sass/main.sass
index d0c5159..6c74fbe 100644
--- a/assets/sass/main.sass
+++ b/assets/sass/main.sass
@@ -11,8 +11,9 @@ body
.border-1
border-width: 1px
-body.dark
- background-color: #111827
+html.dark-mode
+ body
+ background-color: #111827
-.dark\:border-b-1
- border-bottom-width: 1px
+ .dark\:border-b-1
+ border-bottom-width: 1px