aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index f668751..b759184 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,7 +1,8 @@
{% extends "base.html" %}
{% block css %}
-<link rel="stylesheet" href="/syntax-theme-dark.css">
+<link rel="stylesheet" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)">
+<link rel="stylesheet" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)">
<link rel="stylesheet" href="/styles.css">
{% endblock css %}