forked from robotcorner/joplin-theme-dark-gruvbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserchrome.css
411 lines (344 loc) · 9.94 KB
/
userchrome.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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
/* html-ized markdown for entire app */
/* designed originally by uxamanda (https://discourse.joplinapp.org/u/uxamanda). latest version https://github.com/amandamcg/joplin-theme */
/* Redesigned by Stephen (robotcorner) https://https://github.com/robotcorner/joplin-theme-dark-gruvbox */
:root {
--white: #fbf1c7;
--dark-white: #ebdbb2;
--light-grey: #928374;
--grey: #504945;
--dark-grey: #3c3836;
--darker-grey: #32302f;
--black: #181a1b;
--red: #fb4934;
--red-dark: #cc241d;
--green: #b8bb26;
--green-dark: #6ebb26;
--yellow:#fabd2f;
--yellow-dark: #d79921;
--yellow-darkest: #c47f00;
--blue: #83a598;
--blue-dark: #458588;
--purple: #d3869b;
--purple-dark: #b16286;
--aqua: #8ec07c;
--aqua-dark: #689d6a;
--aqua-very-dark: #477248;
--orange: #fe8019;
--orange-dark: #d65d0e;
--base-size-1: 1px;
--base-size-4: 5px;
--base-size-8: 9px;
--base-size-10: 11px;
--base-size-14: 14px;
--base-size-16: 16px;
--base-size-18: 18px;
--base-size-24: 24px;
--base-size-32: 32px;
--base-size-40: 40px;
--base-size-272: 272px;
--z-toc: 99;
--font-weight-light: 200;
--font-weight-base: 400;
--font-weight-bold: 500;
--font-sans: "Work Sans";
--font-mono: "Cascadia Code";
--primary: var(--purple);
--secondary: var(--orange-dark);
--font-line-height: 1.4em;
--font-size: var(--base-size-16);
--icon-size: var(--font-size);
}
* {
font-family: var(--font-sans) !important;
font-weight: var(--font-weight-base) !important;
font-size: var(--font-size) !important;
line-height: var(--font-line-height) !important;
}
.fa, .far, .fas {
font-weight: 900 !important;
font-family: "Font Awesome 5 Free" !important;
font-size: var(--icon-size) !important;
}
body {
background-color: var(--black) !important;
font-size: var(--base-size-16) !important;
}
.noteTextViewer {
border-left: var(--base-size-1) solid var(--dark-grey) !important;
}
#react-root>div>div>div:last-child {
border-left: none !important;
background-color: var(--black)
}
#react-root>div>div>div:last-child>div>div {
border-bottom: var(--base-size-1) solid var(--dark-grey) !important;
}
#react-root>div>div>div:last-child>div>div>span {
padding: 0 18px 4px 4px !important;
}
#react-root>div>div>div:last-child>div>div>div .editor-toolbar {
border-bottom: var(--base-size-1) solid var(--dark-grey) !important;
margin-bottom: 0 !important;
border-top: none !important;
}
#react-root>div>div>div:last-child>div>div .editor-toolbar {
border-bottom: none !important;
}
#react-root>div>div>div:last-child>div>div>div>div:last-child>div:last-child {
border: none !important;
}
/* markdown */
.ace_text-layer {
padding: 3%;
}
.ace_content {
background-color: var(--black) !important;
}
.ace_editor div, .ace_editor span {
font-family: var(--font-mono) !important;
font-weight: --font-weight-base;
color: var(--dark-white);
}
.ace_heading {
/*color: var(--white) !important;*/
color: var(--yellow) !important;
}
/*Bold*/
.ace_string.ace_strong {
color: var(--green-dark) !important;
font-weight: bold !important;
}
/* Italics */
.ace_string.ace_emphasis {
color: var(--green-dark) !important;
font-style: italic !important;
}
/* Line Breaks */
.ace_constant.ace_language.ace_escape {
color: gold !important;
}
.ace_variable {
color: var(--white) !important;
}
/* Lists and Checkboxes */
.ace_list {
/*color: var(--light-grey) !important;*/
color: palegoldenrod !important;
}
/* Inline Codes and Codeblocks */
.ace_support.ace_function {
color: var(--aqua) !important;
}
.ace_string {
color: var(--primary) !important;
}
.ace_cursor {
border-left: var(--base-size-1) solid var(--orange) !important;
}
/* prevent cursor from blinking */
/* https://discourse.joplinapp.org/t/share-your-css/1730/17 */
.ace_cursor-layer:not(.ace_hidden-cursors) .ace_cursor {
opacity: 1 !important;
}
/* gui */
.side-bar {
background-color: var(--black) !important;
opacity: 0.8;
}
.side-bar .folders {}
.side-bar .folders .list-item, .side-bar div, .side-bar span {
color: var(--dark-white) !important;
font-weight: var(--font-weight-base) !important;
font-size: var(--font-size) !important;
margin-bottom: var(--base-size-1);
}
.side-bar div div {
font-size: var(--font-size) !important;
}
/* making icons the same width so text aligns */
.side-bar .fas:first-of-type {
width: var(--base-size-18)
}
.list-item div {
margin-left: auto !important;
padding-right: var(--base-size-14) !important;
opacity: 0.3 !important;
}
.synchronize-button {}
.note-list {
background-color: var(--black);
padding: var(--base-size-8) 0;
opacity: 0.7;
}
.note-list input[type="checkbox"i] {
opacity: 0.5 !important;
}
.note-list div {
border-bottom: 0 !important;
}
.note-list input[type="checkbox"i] {
margin-right: 1em !important;
}
.note-list a.list-item span, .tags .list-item {
/* font-family: "IBM Plex Mono" !important; */
/* font-size: 12px !important; */
color: var(--dark-white) !important;
}
.tag-list {
order: 4;
}
/* icons */
.fa, .far, .fas {
color: var(--light-grey) !important;
padding-right: var(--base-size-4);
padding-left: var(--base-size-4)
}
#react-root>div {
background-color: var(--dark-grey) !important;
}
#react-root div div div:last-child div input {
margin: 0 !important;
margin-right: var(--base-size-18) !important;
margin-bottom: 4px !important;
height: 34px !important;
min-height: 34px !important;
font-size: var(--font-size) !important;
font-family: var(--font-mono);
font-weight: var(--font-weight-light);
background-color: var(--black) !important
}
.editor-toolbar .button {
height: var(--base-size-40)
}
.editor-toolbar .button:not(.disabled):hover, .header .button:not(.disabled):hover{
color: var(--white) !important;
background-color: var(--yellow-darkest) !important;
border: 1px solid var(--yellow-darkest) !important;
}
.editor-toolbar .button, .header .button {
border: 0 !important;
}
.editor-toolbar .button i {
font-size: var(--icon-size) !important;
}
.editor-toolbar .fa, .editor-toolbar .fas {
padding-right: 4;
}
.header {
border-bottom: var(--base-size-1) solid var(--dark-grey) !important;
}
.header .title {
color: var(--darker-white);
}
input {
border-radius: var(--base-size-4) !important;
border: 0px !important;
background-color: var(--dark-grey) !important;
border: var(--base-size-1) solid var(--grey) !important;
opacity: 0.7;
/*outline: none;*/
}
input:focus {
outline: none;
border: var(--base-size-1) solid var(--orange-dark) !important;
}
.header .title {
display: none !important;
}
.folders i.fa.fa-minus-square, .folders i.fa.fa-plus-square {
padding-right: 3px !important;
}
.folders .list-item-container {
margin: 0 !important;
}
.note-list .list-item-container:hover, .folders .list-item-container:hover {
/* background-color: var(--darker-white) !important; */
background-color: var(--yellow-darkest) !important;
}
.folders a.list-item {
padding-left: var(--base-size-8);
margin: 0 !important;
}
.side-bar>div:last-child div {
font-family: var(--font-mono) !important;
font-size: calc(var(--font-size)/1.3) !important;
padding: 2px;
}
.side-bar>div:last-child {
padding: var(--base-size-4) !important;
font-family: var(--font-mono) !important;
border-top: var(--base-size-1) solid var(--black);
}
.synchronize-button {
border: none !important;
background: var(--dark-grey);
border-radius: var(--base-size-4) !important;
padding: var(--base-size-14) !important;
color: var(--light-grey) !important;
text-transform: uppercase;
font-family: var(--font-mono) !important;
font-weight: var(--font-weight-bold) !important;
letter-spacing: 1px;
}
/* TESTING BELOW */
/* code mirror */
.cm {
font-family: var(--font-sans);
font-size: var(--font-size);
}
/* background and base color */
.cm-s-material-darker.CodeMirror {
background-color: var(--black) !important;
color: var(--light-grey) !important
}
/* lists */
.cm-s-material-darker .cm-variable-2 {
color: var(--light-grey) !important
}
/* internal links */
.cm-s-material-darker .cm-string {
color: var(--primary) !important
}
/* headers */
.cm-header-1, .cm-header-2, .cm-header-3, .cm-header-4 {
color: var(--dark-white) !important
}
.cm-variable-2, .cm-meta {
color: var(--red-dark) !important;
/* changes the font colour for all lists (.cm-meta controls the checkbox square brackets [ ] ) */
}
.cm-comment {
color: var(--green-dark) !important;
/* changes the font colour for code text*/
}
.cm-quote {
color: var(--purple-dark) !important;
/* changes the font colour for quoted text*/
}
.cm-image-marker {
color: var(--red);
/* changes the font colour for the "!" before displayed image links */
font-weight: 900;
/* changes the font weight for the "!" before displayed image links */
}
.cm-link, .cm-url {
/* .cm-link is everything in the square brackets | .cm-url is the url itself in the round brackets */
color: var(--green) !important;
/* changes the font colour for links */
text-decoration: none !important;
/* removes underlining for links */
}
.cm-tag, .cm-attribute {
/* HTML - .cm-tag is the HTML tag itself such as "<img>" | .cm-attribute is any HTML tag attributes such as "width" or "src" */
/* the below are NOT applied if the html text is marked as "code" unless it is in a fenced html code block (```HTML) */
color: var(--dark-purple) !important;
/* changes the font colour for HTML tags */
font-weight: 500;
/* changes the font weight for HTML tags */
}
.cm-hr {
color: var(--orange-dark) !important;
/* changes the font colour for horizontal rule markdown "***" */
font-weight: 900;
/* changes the font weight for horizontal rule markdown "***" */
}