feat(theme): use TriliumNext as setup theme

This commit is contained in:
Elian Doran 2024-11-22 20:21:22 +02:00
parent 2e544a7337
commit 76256c1b9c
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,6 @@
/*
* Dark color scheme
*/
@media (prefers-color-scheme: dark) {
:root {
--theme-style: dark;
@ -101,4 +104,5 @@
.ck-content pre {
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
}
}
}

View File

@ -162,6 +162,8 @@
<script src="<%= assetPath %>/node_modules/knockout/build/output/knockout-latest.js"></script>
<script src="<%= appPath %>/setup.js" crossorigin type="module"></script>
<link href="<%= assetPath %>/stylesheets/theme-light.css" rel="stylesheet">
<link href="<%= assetPath %>/stylesheets/theme-light.css" rel="stylesheet" />
<link href="<%= assetPath %>/stylesheets/theme-next.css" rel="stylesheet" />
<link href="<%= assetPath %>/stylesheets/style.css" rel="stylesheet">
</body>
</html>