|
5 | 5 | * which is defined in `userstyle.css`) * |
6 | 6 | *****************************************************************************/ |
7 | 7 |
|
| 8 | +:root { |
| 9 | + --editor-heading-color: cyan; |
| 10 | + --editor-heading-font-weight: bold; /* not used */ |
| 11 | + --editor-heading-font-size: 1.1em; /* not used */ |
| 12 | + --editor-code-color: greenyellow; |
| 13 | + --editor-text-in-brackets-color: #f9ee98; /* yellow-ish */ |
| 14 | + --editor-strong-color: salmon; |
| 15 | + --editor-emphasis-color: salmon; |
| 16 | + --editor-emphasis-font-style: italic; |
| 17 | + --editor-list-element-color: deepskyblue; |
| 18 | +} |
| 19 | +/* not used means it needs to be uncommented in the proper section */ |
| 20 | + |
8 | 21 | /*------ Editor: Headings ---------------------------------------------------*/ |
9 | 22 | .ace_heading { |
10 | | - color: cyan !important; |
11 | | - /* font-weight: bold; */ |
12 | | - /*font-size: 1.1em;*/ |
| 23 | + color: var(--editor-heading-color) !important; |
| 24 | + /* font-weight: var(--editor-heading-font-weight); */ |
| 25 | + /* font-size: var(--editor-heading-font-size); */ |
13 | 26 | } |
14 | 27 | /*---------------------------------------------------------------------------*/ |
15 | 28 |
|
16 | 29 | /*------ Editor: inline code and codeblocks ---------------------------------*/ |
17 | 30 | .ace_support.ace_function { |
18 | | - color: greenyellow !important; |
| 31 | + color: var(--editor-code-color) !important; |
19 | 32 | } |
20 | 33 | /*---------------------------------------------------------------------------*/ |
21 | 34 |
|
22 | 35 | /*------ Editor: text in brackets [ ] ---------------------------------------*/ |
23 | 36 | .ace_string { |
24 | | - color: #f9ee98 !important; /* yellow-ish */ |
| 37 | + color: var(--editor-text-in-brackets-color) !important; |
25 | 38 | } |
26 | 39 | /*---------------------------------------------------------------------------*/ |
27 | 40 |
|
28 | 41 | /*------ Editor: strong -----------------------------------------------------*/ |
29 | 42 | .ace_string.ace_strong { |
30 | | - color: salmon !important; |
| 43 | + color: var(--editor-strong-color) !important; |
31 | 44 | } |
32 | 45 | /*---------------------------------------------------------------------------*/ |
33 | 46 |
|
34 | 47 | /*------ Editor: italics ----------------------------------------------------*/ |
35 | 48 | .ace_string.ace_emphasis { |
36 | | - color: salmon !important; |
37 | | - font-style: italic; |
| 49 | + color: var(--editor-emphasis-color) !important; |
| 50 | + font-style: var(--editor-emphasis-font-style); |
38 | 51 | } |
39 | 52 | /*---------------------------------------------------------------------------*/ |
40 | 53 |
|
41 | 54 | /*------ Editor: list elements and checkbox elements ------------------------*/ |
42 | 55 | .ace_list { |
43 | | - color: deepskyblue !important; |
| 56 | + color: var(--editor-list-element-color) !important; |
44 | 57 | } |
45 | 58 | /*---------------------------------------------------------------------------*/ |
46 | 59 |
|
|
0 commit comments