diff --git a/!!!meta.json b/!!!meta.json
index 9289634..55aa491 100644
--- a/!!!meta.json
+++ b/!!!meta.json
@@ -1,6 +1,6 @@
{
"formatVersion": 1,
- "appVersion": "0.43.4",
+ "appVersion": "0.48.3",
"files": [
{
"isClone": false,
@@ -11,14 +11,14 @@
"title": "Witches Town",
"notePosition": 0,
"prefix": null,
- "isExpanded": 1,
+ "isExpanded": true,
"type": "code",
"mime": "text/css",
"attributes": [
{
"type": "label",
"name": "appTheme",
- "value": "",
+ "value": "witches-town",
"isInheritable": false,
"position": 10
}
@@ -36,7 +36,7 @@
"title": "fira-sans-v10-latin-regular.woff2",
"notePosition": 0,
"prefix": null,
- "isExpanded": 0,
+ "isExpanded": false,
"type": "file",
"mime": "font/woff2",
"attributes": [
@@ -55,7 +55,7 @@
"position": 20
}
],
- "dataFileName": "fira-sans-v10-latin-regular.woff2"
+ "dataFileName": "fira-sans-v10-latin-regular.wo"
}
]
},
diff --git a/README.md b/README.md
index 189ba34..dcbab1c 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
A port of [Witches Town](https://github.com/wryk/witches-town-theme) theme for Trilium Notes with a few additional changes.
-![Screenshot of Trilium Notes with theme enabled](https://i.imgur.com/JYOg9YC.png)
+![Screenshot of Trilium Notes with theme enabled](https://i.imgur.com/2wNyvbe.png)
# Installation
@@ -16,4 +16,4 @@ This program is free software: you can redistribute it and/or modify it under th
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
-You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
\ No newline at end of file
+You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
diff --git a/Witches Town.css b/Witches Town.css
index 46a5dde..a1c64c5 100644
--- a/Witches Town.css
+++ b/Witches Town.css
@@ -5,7 +5,9 @@
src: url('/custom/fonts/fira-sans.woff2') format('woff2');
}
-body.theme-witches-town {
+:root {
+ --theme-style: dark;
+
--main-font-family: 'Fira Sans', sans-serif !important;
--main-font-size: normal;
--tree-font-family: inherit;
@@ -17,11 +19,12 @@ body.theme-witches-town {
--main-background-color: #383144;
--main-text-color: #D5BDD6;
--main-border-color: #87778D;
+
--accented-background-color: #473E56;
- --more-accented-background-color: #DBD3FF;
- --header-background-color: #383144;
+ --more-accented-background-color: #383144;
+
--button-background-color: #473E56;
- --button-disabled-background-color: #DBD3FF;
+ --button-disabled-background-color: #383144;
--button-border-color: #87778D;
--button-text-color: #D5BDD6;
--button-border-radius: 15px;
@@ -42,22 +45,48 @@ body.theme-witches-town {
--modal-background-color: #383144;
--modal-backdrop-color: black;
--scrollbar-border-color: #87778D;
+
+ --left-pane-background-color: #383144;
+ --left-pane-text-color: #D5BDD6;
+
+ --launcher-pane-background-color: #383144;
+ --launcher-pane-text-color: #D5BDD6;
+
+ --active-tab-background-color: #473E56;
+ --active-tab-text-color: #D5BDD6;
+
+ --inactive-tab-background-color: #383144;
+ --inactive-tab-text-color: #D5BDD6;
}
-body.theme-witches-town .note-detail-text {
+body .note-detail-text {
font-size: 120%;
}
-body.theme-witches-town .CodeMirror {
+body #launcher-pane div,
+body #launcher-pane div *,
+body #launcher-pane span {
+ background-color: var(--launcher-pane-background-color);
+ border-radius: 50%;
+}
+
+body #launcher-pane div:hover * {
+ background-color: var(--hover-item-background-color);
+}
+
+body #left-pane .btn:not(.btn-primary) {
+ background-color: var(--launcher-pane-background-color);
+}
+
+body .CodeMirror {
filter: invert(100%) hue-rotate(300deg) saturate(80%);
/* background-color: #f7f8f6 !important; */
}
-body.theme-witches-town .bx.icon-action {
+body .bx.icon-action {
border-radius: 50%;
-
}
-body.theme-witches-town span.fancytree-node.done, body.theme-witches-town span.fancytree-node.todo{
+body span.fancytree-node.done, body span.fancytree-node.todo{
filter: saturate(30%) brightness(180%);
}
diff --git a/Witches Town/fira-sans-v10-latin-regular.woff2 b/Witches Town/fira-sans-v10-latin-regular.wo
similarity index 100%
rename from Witches Town/fira-sans-v10-latin-regular.woff2
rename to Witches Town/fira-sans-v10-latin-regular.wo
diff --git a/index.html b/index.html
index addcc26..fea2131 100644
--- a/index.html
+++ b/index.html
@@ -2,6 +2,7 @@
+