aboutsummaryrefslogtreecommitdiff
path: root/templates/base.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2025-11-01 17:49:20 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2025-11-01 17:49:20 +0100
commit5dd940eb52b40c78a2078ed0a02440e84bee0306 (patch)
tree81e6b5a148c42a5687a0fde0a77001b5ab81cfb4 /templates/base.qtpl
parented1fc6854a634f7fcff7d1a500c40e7502031ea7 (diff)
downloadcerrado-5dd940eb52b40c78a2078ed0a02440e84bee0306.tar.gz
cerrado-5dd940eb52b40c78a2078ed0a02440e84bee0306.tar.bz2
cerrado-5dd940eb52b40c78a2078ed0a02440e84bee0306.zip
feat: Write css dark/light theme on standalone url
This will allow tho write both themes into the same css file. Also mend with the css generate by chroma so it can be nested.
Diffstat (limited to 'templates/base.qtpl')
-rw-r--r--templates/base.qtpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/base.qtpl b/templates/base.qtpl
index b3df94a..e43fb67 100644
--- a/templates/base.qtpl
+++ b/templates/base.qtpl
@@ -60,6 +60,8 @@ Page prints a page implementing Page interface.
<link rel="icon" href="data:,">
<title>{%= p.Title(ctx) %}</title>
<link rel="stylesheet" href="/static/main{%s Slug %}.css">
+ <link rel="stylesheet" href="/static/themes/dark">
+ <link rel="stylesheet" href="/static/themes/light">
<html data-bs-theme="dark">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width, initial-scale=1" />