fix: prioritise theme files
This commit is contained in:
parent
b9f775fc2d
commit
08c1aa8abe
4 changed files with 8 additions and 8 deletions
|
|
@ -8,8 +8,8 @@
|
|||
OmniSearch
|
||||
</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"
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
</title>
|
||||
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
||||
<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}}
|
||||
</head>
|
||||
|
||||
<body class="images-view">
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
OmniSearch - {{l("settings_title")}}
|
||||
</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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue