-
Notifications
You must be signed in to change notification settings - Fork 4
/
Trilium-Theme-Neon_Dark.css
213 lines (178 loc) · 5.92 KB
/
Trilium-Theme-Neon_Dark.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
/* Neon_Dark by https://github.com/Engr-AllanG/trilium-theme-Neon_Dark */
/*v3: Changed check list color. Changed font */
/*Theme color scheme originally based on nickmilo's IMF theme implimented in Obsidian: https://github.com/nickmilo/IMF-v3 */
:root{
--text-teal: #2e8ea6;
--background-dark: #26272c;/**/
--accent-black: #000000;/**/
--accent-light: #878795; /*878795 de3121*/
--bright-pink: #DE38C8;/**/
--bright-purple: #8D68C7;/*#722EC7*/
--bright-light: #AFB8C6;
--bright-yellow: #aeaa01;/**/
--bright-red: #AB723E;
}
body {
--main-text-color: var(--text-teal); /**/
--main-background-color: var(--background-dark); /**/
--main-border-color: #7a8ba654; /**/
--accented-background-color: var(--accent-black); /*tabs, background for some context windwos. black */
--more-accented-background-color: var(--accent-light); /**/
--header-background-color: var(--background-dark); /**/
--button-background-color: var(--accent-light);
--button-border-color: var(--accent-black);
--button-border-radius: 6px;
--link-color: var(--bright-pink); /**/
--modal-background-color: var(--background-dark); /*dark grey, less blue*/
--menu-background-color: var(--accent-light); /*dark grey, more blue*/
--menu-text-color: var(--accent-black);
--tooltip-background-color: var(--background-dark);
--active-item-background-color: var(--bright-yellow);
--hover-item-background-color: var(--accent-light);/* menu items*/
--input-background-color: var(--accent-light); /*note title background col*/
--main-font-family: Tahoma;
--detail-font-family: Baskerville;/*Consolas Baskerville;*/
/*--muted-text-color: #A117F2;*/
}
::selection {
color: var(--accent-black);
background: var(--bright-yellow);
}
body {
font-family: Baskerville; /*Baskerville;*/
}
body h1{
color: var(--accent-light);
font-weight: 700;
font-family: Tahoma;
}
body h2{
color: var(--accent-light);
font-weight: 700;
font-family: Tahoma;
}
body h3{
color: var(--accent-light);
font-weight: 600;
font-family: Tahoma;
}
body h4{
color: var(--accent-light);
font-weight: 600;
font-family: Tahoma;
}
body h5{
color: var(--accent-light);
font-weight: 600;
font-family: Tahoma;
}
body h6{
font-size: 19.2px; /*not specific enough to override*/
font-family: Tahoma;
/*color: var(--bright-red);*/
}
ul.todo-list li{
color: var(--bright-red);
font-family: Baskerville;
}
body strong {
color: var(--bright-yellow);
font-weight: 700;
}
body i {
color: var(--bright-purple); !important /**/
}
body blockquote{
color: var(--bright-purple); /**/
}
body li{
color: var(--text-teal);
}
@import url(https://cdn.jsdelivr.net/gh/tonsky/[email protected]/distr/fira_code.css);
/*have to use pre code in order to override font color which is inhertied as !important */
/*alternative to below is background $accent-light, with black text .or black background and purple text #A117F2*/
.ck.ck-editor__editable pre {
background: var(--accent-light);
font-family: 'Fira Code', monospace;
font-size: 0.8rem; /* .9 */
border-color: var(--accent-black);
}
.ck-content pre code {
font-family: 'Fira Code', monospace;
font-size: 0.8rem; /* .9 */
background: var(--accent-light);
color: var(--accent-black) !important; /*have to use this because line 468 style.css has !importat inherited on color */
}
.ck.ck-editor__editable code {
font-family: 'Fira Code', monospace;
font-size: 0.8rem; /* .9 */
background: var(--accent-light);
color: var(--accent-black) !important; /*have to use this because line 468 style.css has !importat inherited on color for code */
}
.ck.ck-editor__editable .ck-code_selected {
background-color: var(--accent-light) !important;
}
/* Edit code font FiraCode and making the size a tad smaller*/
/*had to use pre.CodeMirror-line to overide pre above*/
pre.CodeMirror-line {
font-family: 'Fira Code', monospace !important;
font-size: 0.9rem !important;
color: #999999 !important;
background: var(--background-dark);
}
/*adjust the cursor color - default is black and you can barely see it in dark mode*/
.CodeMirror-cursor {
border-left: 1px solid #dc3545 !important;
}
/*ID selectors*/
#header {
padding-top: 0 !important;
}
/* Just making the global button have the same spacing as the article title to the right */
#global-buttons {
padding: 0 !important;
margin: 4px 15px 5px 5px !important;
}
/* Make the note title box rounded like the buttons and make sure the text is no longer flushed against the right side */
.note-title {
border-radius: 5px;
padding-right: 5px;
}
.note-tab-row .note-tab[active] .note-tab-wrapper{ /* this is the active note tab*/
background-color: var(--accent-light) !important; /* I know, throwing !important on everything is bad practice.... */
--main-text-color: var(--accent-black) !important; /* */
}
.note-tab-row .note-tab[active] .note-tab-close{
color: var(--accent-black);
}
.note-tab-close{
color: var(--accent-light);
}
/*left pane and tree coloring*/
.tree{
background-color: var(--accent-black);
color: var(--accent-light); /*#878795*/
/*font-weight:900;*/
}
.tree li{
color: var(--accent-light);
}
.note-paths-widget.component{
background-color: var(--accent-black);
}
.global-buttons.component{
background-color: var(--accent-black);
}
.component.hide-in-zen-mode{
background-color: var(--accent-black);
}
span.fancytree-active:not(.fancytree-focused) .fancytree-title{
color: var(--accent-black) !important;
background-color: var(--accent-light) !important;
border-color: var(--accent-light) !important;
}
/* Make the code editor readable */
.cm-s-default .cm-builtin { color: #9368f7 !important; }
.cm-s-default .cm-qualifier { color: #4d9c28 !important; }
.cm-s-default .cm-atom { color: #d23a8c !important; }
.cm-s-default .cm-def { color: #9191ff !important; }