generated from Serendipity-Theme/template-for-repositories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
midnight.css
70 lines (65 loc) · 1.28 KB
/
midnight.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
:root {
--base: #151726;
--surface: #1C1E2D;
--overlay: #232534;
--soft: #6B6D7C;
--slight: #8D8F9E;
--text: #DEE0EF;
--coral: #EE8679;
--violet: #A78BFA;
--salmon: #F8D2C9;
--fennel: #5BA2D0;
--sky: #94B8FF;
--highlight-low: #1F212F;
--highlight-med: #3E404F;
--highlight-high: #535568;
}
.CodeMirror {
font-family: monaco, Consolas, Menlo, Courier, monospace;
font-size: 16px;
line-height: 1.5em;
background-color: var(--base);
}
span {
color: var(--soft);
}
.CodeMirror-gutters {
background-color: var(--surface);
border-right: 1px solid var(--overlay);
}
.CodeMirror-linenumber {
color: var(--text);
}
.CodeMirror-guttermarker-slight {
color: var(--fennel);
}
.CodeMirror-foldmarker {
color: var(--coral);
text-shadow: none;
}
.extras .icon svg {
fill: var(--violet);
}
.extras .icon:hover {
background-color: var(--overlay);
}
.cm-s-default .cm-comment {
color: var(--soft);
}
.cm-s-default .cm-operator,
.cm-s-default .cm-property,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-variable {
color: var(--sky);
}
.cm-s-default .cm-atom,
.cm-s-default .cm-number {
color: var(--salmon);
}
.cm-s-default .cm-string,
.cm-s-default .cm-string-2 {
color: var(--violet);
}
.CodeMirror-selected {
background: var(--highlight-med) !important;
}