Merge pull request #2101 from TriliumNext/patch-theme-2

fix(theme): theme is not enabled on the phone
This commit is contained in:
Elian Doran 2025-06-04 11:28:22 +03:00 committed by GitHub
commit 4cab710dfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,6 +118,15 @@
<% if (themeCssUrl) { %>
<link href="<%= themeCssUrl %>" rel="stylesheet">
<% } %>
<% if (themeUseNextAsBase === "next") { %>
<link href="<%= assetPath %>/stylesheets/theme-next.css" rel="stylesheet">
<% } else if (themeUseNextAsBase === "next-dark") { %>
<link href="<%= assetPath %>/stylesheets/theme-next-dark.css" rel="stylesheet">
<% } else if (themeUseNextAsBase === "next-light") { %>
<link href="<%= assetPath %>/stylesheets/theme-next-light.css" rel="stylesheet">
<% } %>
<link href="<%= assetPath %>/stylesheets/style.css" rel="stylesheet">
<link href="<%= assetPath %>/stylesheets/print.css" rel="stylesheet" media="print">