summaryrefslogtreecommitdiffstats
path: root/tailwind.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'tailwind.config.js')
-rw-r--r--tailwind.config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tailwind.config.js b/tailwind.config.js
index 0f4d608..2059f85 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,4 +1,6 @@
module.exports = {
+ // The site theme is a class on <html>, not the OS preference.
+ darkMode: ['selector', 'html:not(.theme-light)'],
content: [
'./themes/**/layouts/**/*.html',
'./themes/**/assets/js/**/*.js',