fix: prioritise theme files

This commit is contained in:
frosty
2026-04-02 09:55:12 +03:00
parent b9f775fc2d
commit 08c1aa8abe
4 changed files with 8 additions and 8 deletions

View File

@@ -8,8 +8,8 @@
OmniSearch - {{query}}
</title>
<link rel="stylesheet" href="static/main.css">
{{if theme == "light"}}<link rel="stylesheet" href="static/theme-light.css">{{endif}}
{{if theme == "dark"}}<link rel="stylesheet" href="static/theme-dark.css">{{endif}}
{{if theme == "light"}}<link rel="preload" href="static/theme-light.css" as="style">{{endif}}
{{if theme == "dark"}}<link rel="preload" href="static/theme-dark.css" as="style">{{endif}}
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="search"
type="application/opensearchdescription+xml"