Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(theme): When using next as the base for custom themes, the next theme is not enabled on the phone
SiriusXT78626e67d2ba
diff --git a/apps/server/src/assets/views/mobile.ejs b/apps/server/src/assets/views/mobile.ejsindex 254dcaed57..80778d9ad2 100644--- a/apps/server/src/assets/views/mobile.ejs+++ b/apps/server/src/assets/views/mobile.ejs@@ -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">