-
Notifications
You must be signed in to change notification settings - Fork 46
/
highlightjs.css
122 lines (105 loc) · 2.41 KB
/
highlightjs.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
/*
Atom One Light by Daniel Gamage
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
REFACTORED FOR SHOWCASE
-----------------------
original base: #fafafa
base: var(--gray-light-warm)
--hljs-accent-N colors are defined in showcase/public/index.html
--hljs-accent-1: #292323;
--hljs-accent-2: #a0a1a7;
--hljs-accent-3: #b53ab4;
--hljs-accent-4: #e45649;
--hljs-accent-5: #0184bb;
--hljs-accent-6: #54aa8b;
--hljs-accent-7: #d89a09;
--hljs-accent-8: #009bac;
--hljs-accent-9: #4f79d5;
old mono-1: #383a42
mono-1: #292323;
mono-2: #686b77
mono-3: #a0a1a7
hue-1: #0184bb
old hue-2: #4078f2
hue-2: #4f79d5
old hue-3: #a626a4
hue-3: #b53ab4;
old hue-4: #50a14f
hue-4: #54aa8b;
hue-5: #e45649
hue-5-2: #c91243
old hue-6: #986801
hue-6: #009bac
old hue-6-2: #c18401
hue-6-2: #d89a09;
*/
.hljs {
/* New -- essentially GitHub's monospace stack */
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;;
font-size: var(--hljs-font-size);
display: block;
overflow-x: auto;
padding: var(--Space-8) var(--Space-32); /* appears to be auto-vertical gutters so only 8px added */
/* padding: 8px 32px; appears to be auto-vertical gutters so only 8px added */
color: var(--hljs-accent-1);
background: var(--gray-light-warm);
}
.hljs-comment,
.hljs-quote {
color: var(--hljs-accent-2);
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: var(--hljs-accent-3);
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: var(--hljs-accent-4);
}
.hljs-literal {
color: var(--hljs-accent-5);
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: var(--hljs-accent-6);
}
.hljs-built_in,
.hljs-class .hljs-title {
color: var(--hljs-accent-7);
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: var(--hljs-accent-8);
}
.hljs-params, /* new */
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: var(--hljs-accent-9);
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}