clean-jsdoc-theme 3.3.3 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/{codeql-analysis.yml → codeql.yml} +23 -18
- package/.github/workflows/greetings.yml +16 -0
- package/CHANGELOG.md +16 -0
- package/LICENSE +1 -1
- package/README.md +206 -311
- package/jsdoc-config.json +7 -5
- package/minify.js +52 -0
- package/package.json +10 -6
- package/publish.js +805 -871
- package/static/fonts/Inconsolata-Regular.ttf +0 -0
- package/static/fonts/OpenSans-Regular.ttf +0 -0
- package/static/fonts/WorkSans-Bold.ttf +0 -0
- package/static/scripts/core.js +576 -0
- package/static/scripts/core.min.js +23 -0
- package/static/scripts/resize.js +59 -54
- package/static/scripts/search.js +220 -53
- package/static/scripts/search.min.js +11 -0
- package/static/scripts/third-party/hljs-line-num.js +1 -0
- package/static/scripts/third-party/hljs-original.js +5162 -0
- package/static/scripts/third-party/hljs.js +1 -0
- package/static/scripts/third-party/popper.js +6 -0
- package/static/scripts/third-party/tippy.js +2 -0
- package/static/scripts/third-party/tocbot.js +1 -0
- package/static/styles/clean-jsdoc-theme-base.css +752 -190
- package/static/styles/clean-jsdoc-theme-dark.css +216 -133
- package/static/styles/clean-jsdoc-theme-light.css +239 -170
- package/static/styles/clean-jsdoc-theme.min.css +1 -0
- package/tmpl/container.tmpl +13 -12
- package/tmpl/details.tmpl +16 -16
- package/tmpl/examples.tmpl +3 -1
- package/tmpl/icons.tmpl +43 -5
- package/tmpl/layout.tmpl +62 -81
- package/tmpl/members.tmpl +1 -2
- package/tmpl/method.tmpl +4 -5
- package/tmpl/mobile-sidebar.tmpl +21 -0
- package/tmpl/navbar-actions.tmpl +19 -0
- package/tmpl/navbar-menu.tmpl +25 -0
- package/tmpl/navbar.tmpl +14 -0
- package/tmpl/returns.tmpl +1 -1
- package/tmpl/search.tmpl +17 -0
- package/tmpl/sidebar-items.tmpl +24 -0
- package/tmpl/sidebar-title.tmpl +10 -0
- package/tmpl/sidebar.tmpl +9 -0
- package/tmpl/source.tmpl +7 -2
- package/tmpl/toc.tmpl +4 -0
- package/helpers/navbarBuilder.js +0 -0
- package/static/fonts/MavenPro-Regular.ttf +0 -0
- package/static/fonts/Montserrat-Regular.ttf +0 -0
- package/static/fonts/Muli-Black.ttf +0 -0
- package/static/fonts/OFL-hind.txt +0 -93
- package/static/fonts/OFL-montserrat.txt +0 -93
- package/static/scripts/fix-code-block.js +0 -53
- package/static/scripts/fix-navbar.js +0 -25
- package/static/scripts/linenumber.js +0 -25
- package/static/scripts/misc.js +0 -217
- package/static/scripts/third-party/lang-css.js +0 -2
- package/static/scripts/third-party/prettify.js +0 -28
- package/static/styles/reset.css +0 -351
- package/static/styles/third-party/ionicons.min.css +0 -11
- package/static/styles/third-party/prettify-jsdoc.css +0 -111
- package/static/styles/third-party/prettify-tomorrow.css +0 -5
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
::selection {
|
|
2
2
|
background: #ffce76;
|
|
3
|
-
color: #
|
|
3
|
+
color: #222;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
body {
|
|
7
|
-
background-color: #
|
|
8
|
-
color: #
|
|
7
|
+
background-color: #1a1a1a;
|
|
8
|
+
color: #fff;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
a,
|
|
12
12
|
a:active {
|
|
13
|
-
color: #
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
hr {
|
|
17
|
-
border: 1px solid #333;
|
|
13
|
+
color: #00bbff;
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
h1,
|
|
@@ -23,105 +19,115 @@ h3,
|
|
|
23
19
|
h4,
|
|
24
20
|
h5,
|
|
25
21
|
h6 {
|
|
26
|
-
color: #
|
|
22
|
+
color: #fff;
|
|
27
23
|
}
|
|
28
24
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
.sidebar {
|
|
26
|
+
background-color: #222;
|
|
27
|
+
color: #999;
|
|
32
28
|
}
|
|
33
29
|
|
|
34
|
-
.
|
|
35
|
-
|
|
30
|
+
.sidebar-title {
|
|
31
|
+
color: #999;
|
|
36
32
|
}
|
|
37
33
|
|
|
38
|
-
.
|
|
39
|
-
|
|
34
|
+
.sidebar-section-title {
|
|
35
|
+
color: #999;
|
|
40
36
|
}
|
|
41
37
|
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
.navbar-ham .third {
|
|
45
|
-
background: #fff;
|
|
38
|
+
.sidebar-section-title:hover {
|
|
39
|
+
background: #252525;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
.
|
|
49
|
-
|
|
42
|
+
.with-arrow {
|
|
43
|
+
fill: #999;
|
|
50
44
|
}
|
|
51
45
|
|
|
52
|
-
.
|
|
53
|
-
background
|
|
46
|
+
.sidebar-section-children-container {
|
|
47
|
+
background: #292929;
|
|
54
48
|
}
|
|
55
49
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
background: #2a2b2c;
|
|
50
|
+
.sidebar-section-children a:hover {
|
|
51
|
+
background: #2c2c2c;
|
|
59
52
|
}
|
|
60
53
|
|
|
61
|
-
.
|
|
62
|
-
|
|
54
|
+
.sidebar-section-children a {
|
|
55
|
+
color: #fff;
|
|
63
56
|
}
|
|
64
57
|
|
|
65
|
-
.
|
|
66
|
-
|
|
58
|
+
.navbar-container {
|
|
59
|
+
background: #1a1a1a;
|
|
67
60
|
}
|
|
68
61
|
|
|
69
|
-
.
|
|
70
|
-
|
|
62
|
+
.icon-button svg,
|
|
63
|
+
.navbar-item a {
|
|
64
|
+
color: #999;
|
|
65
|
+
fill: #999;
|
|
71
66
|
}
|
|
72
67
|
|
|
73
|
-
.
|
|
68
|
+
.font-size-tooltip .icon-button svg {
|
|
74
69
|
fill: #fff;
|
|
75
70
|
}
|
|
76
71
|
|
|
77
|
-
.
|
|
72
|
+
.font-size-tooltip .icon-button.disabled {
|
|
73
|
+
background: #999;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.icon-button:hover {
|
|
78
77
|
background: #333;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
|
-
.
|
|
82
|
-
background:
|
|
80
|
+
.icon-button:active {
|
|
81
|
+
background: #444;
|
|
83
82
|
}
|
|
84
83
|
|
|
85
|
-
.
|
|
86
|
-
|
|
87
|
-
color: #
|
|
84
|
+
.navbar-item a:active {
|
|
85
|
+
color: #aaa;
|
|
86
|
+
background-color: #222;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
|
-
.
|
|
91
|
-
|
|
92
|
-
fill: #fff;
|
|
89
|
+
.navbar-item:hover {
|
|
90
|
+
background: #202020;
|
|
93
91
|
}
|
|
94
92
|
|
|
95
|
-
.
|
|
96
|
-
background: #
|
|
93
|
+
.footer {
|
|
94
|
+
background: #222;
|
|
95
|
+
color: #999;
|
|
97
96
|
}
|
|
98
97
|
|
|
99
|
-
.
|
|
100
|
-
color: #
|
|
98
|
+
.footer a {
|
|
99
|
+
color: #999;
|
|
101
100
|
}
|
|
102
101
|
|
|
103
|
-
.
|
|
104
|
-
|
|
102
|
+
.toc-link {
|
|
103
|
+
color: #777;
|
|
104
|
+
transition: color 0.3s;
|
|
105
|
+
font-size: 0.875rem;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
|
-
.
|
|
108
|
+
.toc-link.is-active-link {
|
|
108
109
|
color: #fff;
|
|
109
110
|
}
|
|
110
111
|
|
|
112
|
+
.has-anchor .link-anchor {
|
|
113
|
+
color: #555;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.has-anchor .link-anchor:hover {
|
|
117
|
+
color: #888;
|
|
118
|
+
}
|
|
111
119
|
|
|
112
120
|
tt,
|
|
113
121
|
code,
|
|
114
122
|
kbd,
|
|
115
123
|
samp {
|
|
116
|
-
background: #
|
|
124
|
+
background: #333;
|
|
117
125
|
}
|
|
118
126
|
|
|
119
|
-
|
|
120
127
|
.signature-attributes {
|
|
121
128
|
color: #aaa;
|
|
122
129
|
}
|
|
123
130
|
|
|
124
|
-
|
|
125
131
|
.ancestors {
|
|
126
132
|
color: #999;
|
|
127
133
|
}
|
|
@@ -144,13 +150,16 @@ samp {
|
|
|
144
150
|
}
|
|
145
151
|
|
|
146
152
|
.details {
|
|
147
|
-
background: #
|
|
153
|
+
background: #222;
|
|
148
154
|
color: #fff;
|
|
149
155
|
}
|
|
150
156
|
|
|
151
|
-
.
|
|
152
|
-
|
|
153
|
-
|
|
157
|
+
.details a {
|
|
158
|
+
color: #fff;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.prettyprint {
|
|
162
|
+
background: #222;
|
|
154
163
|
}
|
|
155
164
|
|
|
156
165
|
.member-item-container strong,
|
|
@@ -159,23 +168,31 @@ samp {
|
|
|
159
168
|
}
|
|
160
169
|
|
|
161
170
|
.pre-top-bar-container {
|
|
162
|
-
background: #
|
|
171
|
+
background: #292929;
|
|
163
172
|
}
|
|
164
173
|
|
|
165
174
|
.prettyprint.source,
|
|
166
175
|
.prettyprint code {
|
|
167
|
-
background-color: #
|
|
176
|
+
background-color: #222;
|
|
177
|
+
color: #c9d1d9;
|
|
168
178
|
}
|
|
169
179
|
|
|
170
|
-
.
|
|
171
|
-
|
|
180
|
+
.pre-div {
|
|
181
|
+
background-color: #222;
|
|
172
182
|
}
|
|
173
183
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
184
|
+
.hljs .hljs-ln-numbers {
|
|
185
|
+
color: #777;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.hljs .selected {
|
|
189
|
+
background: #444;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.hljs .selected .hljs-ln-numbers {
|
|
193
|
+
color: #eee;
|
|
178
194
|
}
|
|
195
|
+
|
|
179
196
|
/* stylelint-enable */
|
|
180
197
|
|
|
181
198
|
table .name,
|
|
@@ -187,14 +204,13 @@ table .name,
|
|
|
187
204
|
|
|
188
205
|
table td,
|
|
189
206
|
.params td {
|
|
190
|
-
background-color: #
|
|
191
|
-
border-top: 1px solid #191919;
|
|
207
|
+
background-color: #292929;
|
|
192
208
|
}
|
|
193
209
|
|
|
194
|
-
table thead
|
|
195
|
-
.params thead
|
|
196
|
-
.props thead
|
|
197
|
-
background-color: #
|
|
210
|
+
table thead th,
|
|
211
|
+
.params thead th,
|
|
212
|
+
.props thead th {
|
|
213
|
+
background-color: #222;
|
|
198
214
|
color: #fff;
|
|
199
215
|
}
|
|
200
216
|
|
|
@@ -202,123 +218,190 @@ table thead tr,
|
|
|
202
218
|
table .params thead tr,
|
|
203
219
|
.params .params thead tr,
|
|
204
220
|
.props .props thead tr {
|
|
205
|
-
background-color: #
|
|
221
|
+
background-color: #222;
|
|
206
222
|
color: #fff;
|
|
207
223
|
}
|
|
208
224
|
|
|
209
|
-
|
|
210
225
|
.disabled {
|
|
211
226
|
color: #aaaaaa;
|
|
212
227
|
}
|
|
213
228
|
|
|
214
|
-
.code-copy-icon-container {
|
|
215
|
-
fill: #fff;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.code-copy-icon-container:hover {
|
|
219
|
-
background-color: #333;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
229
|
.code-lang-name {
|
|
223
230
|
color: #ff8a00;
|
|
224
231
|
}
|
|
225
232
|
|
|
226
233
|
.tooltip {
|
|
227
234
|
background: #ffce76;
|
|
228
|
-
color: #
|
|
235
|
+
color: #222;
|
|
229
236
|
}
|
|
230
237
|
|
|
231
|
-
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
color: #000;
|
|
238
|
+
/* code */
|
|
239
|
+
.hljs-comment {
|
|
240
|
+
color: #8b949e;
|
|
235
241
|
}
|
|
236
242
|
|
|
237
|
-
|
|
238
|
-
.
|
|
239
|
-
|
|
243
|
+
.hljs-doctag,
|
|
244
|
+
.hljs-keyword,
|
|
245
|
+
.hljs-template-tag,
|
|
246
|
+
.hljs-variable.language_ {
|
|
247
|
+
color: #ff7b72;
|
|
240
248
|
}
|
|
241
249
|
|
|
242
|
-
.
|
|
243
|
-
|
|
250
|
+
.hljs-template-variable,
|
|
251
|
+
.hljs-type {
|
|
252
|
+
color: #30ac7c;
|
|
244
253
|
}
|
|
245
254
|
|
|
246
|
-
|
|
247
|
-
.
|
|
248
|
-
|
|
255
|
+
.hljs-meta,
|
|
256
|
+
.hljs-string,
|
|
257
|
+
.hljs-regexp {
|
|
258
|
+
color: #a5d6ff;
|
|
249
259
|
}
|
|
250
260
|
|
|
251
|
-
|
|
252
|
-
.
|
|
253
|
-
color: #
|
|
261
|
+
.hljs-title.class_,
|
|
262
|
+
.hljs-title {
|
|
263
|
+
color: #ffa657;
|
|
254
264
|
}
|
|
255
265
|
|
|
256
|
-
|
|
257
|
-
.
|
|
258
|
-
color: #
|
|
266
|
+
.hljs-title.class_.inherited__,
|
|
267
|
+
.hljs-title.function_ {
|
|
268
|
+
color: #d2a8ff;
|
|
259
269
|
}
|
|
260
270
|
|
|
261
|
-
|
|
262
|
-
.
|
|
263
|
-
|
|
271
|
+
.hljs-attr,
|
|
272
|
+
.hljs-attribute,
|
|
273
|
+
.hljs-literal,
|
|
274
|
+
.hljs-meta,
|
|
275
|
+
.hljs-number,
|
|
276
|
+
.hljs-operator,
|
|
277
|
+
.hljs-selector-attr,
|
|
278
|
+
.hljs-selector-class,
|
|
279
|
+
.hljs-selector-id,
|
|
280
|
+
.hljs-variable {
|
|
281
|
+
color: #79c0ff;
|
|
264
282
|
}
|
|
265
283
|
|
|
266
|
-
|
|
267
|
-
.
|
|
268
|
-
|
|
284
|
+
.hljs-meta .hljs-string,
|
|
285
|
+
.hljs-regexp,
|
|
286
|
+
.hljs-string {
|
|
287
|
+
color: #a5d6ff;
|
|
269
288
|
}
|
|
270
289
|
|
|
271
|
-
|
|
272
|
-
.
|
|
273
|
-
color: #
|
|
290
|
+
.hljs-built_in,
|
|
291
|
+
.hljs-symbol {
|
|
292
|
+
color: #ffa657;
|
|
274
293
|
}
|
|
275
294
|
|
|
276
|
-
|
|
277
|
-
.
|
|
278
|
-
|
|
295
|
+
.hljs-code,
|
|
296
|
+
.hljs-comment,
|
|
297
|
+
.hljs-formula {
|
|
298
|
+
color: #8b949e;
|
|
279
299
|
}
|
|
280
300
|
|
|
281
|
-
|
|
282
|
-
.
|
|
283
|
-
|
|
301
|
+
.hljs-name,
|
|
302
|
+
.hljs-quote,
|
|
303
|
+
.hljs-selector-pseudo,
|
|
304
|
+
.hljs-selector-tag {
|
|
305
|
+
color: #7ee787;
|
|
284
306
|
}
|
|
285
307
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
color: #f5d67b;
|
|
308
|
+
.hljs-subst {
|
|
309
|
+
color: #c9d1d9;
|
|
289
310
|
}
|
|
290
311
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
312
|
+
.hljs-section {
|
|
313
|
+
color: #1f6feb;
|
|
314
|
+
font-weight: 700;
|
|
294
315
|
}
|
|
295
316
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
color: #f5871f;
|
|
317
|
+
.hljs-bullet {
|
|
318
|
+
color: #f2cc60;
|
|
299
319
|
}
|
|
300
320
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
321
|
+
.hljs-emphasis {
|
|
322
|
+
color: #c9d1d9;
|
|
323
|
+
font-style: italic;
|
|
304
324
|
}
|
|
305
325
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
326
|
+
.hljs-strong {
|
|
327
|
+
color: #c9d1d9;
|
|
328
|
+
font-weight: 700;
|
|
309
329
|
}
|
|
310
330
|
|
|
331
|
+
/* code end*/
|
|
311
332
|
|
|
312
333
|
blockquote {
|
|
313
|
-
background: #
|
|
334
|
+
background: #222;
|
|
314
335
|
color: #fff;
|
|
315
336
|
}
|
|
316
337
|
|
|
317
|
-
|
|
338
|
+
.search-container {
|
|
339
|
+
background: rgba(255, 255, 255, 0.1);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.icon-button.search-close-button svg {
|
|
343
|
+
fill: #a00;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.search-container .wrapper {
|
|
347
|
+
background: #222;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.search-result-c {
|
|
351
|
+
color: #666;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.search-box-c {
|
|
355
|
+
fill: #333;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.search-input {
|
|
359
|
+
background: #333;
|
|
318
360
|
color: #fff;
|
|
319
361
|
}
|
|
320
362
|
|
|
321
|
-
|
|
363
|
+
.search-box-c svg {
|
|
364
|
+
fill: #fff;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.search-result-item {
|
|
322
368
|
background: #333;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.search-result-item:hover {
|
|
372
|
+
background: #444;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.search-result-item:active {
|
|
376
|
+
background: #555;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.search-result-item-title {
|
|
323
380
|
color: #fff;
|
|
324
381
|
}
|
|
382
|
+
|
|
383
|
+
.search-result-item-p {
|
|
384
|
+
color: #aaa;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.mobile-menu-icon-container .icon-button {
|
|
388
|
+
background: #333;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.mobile-sidebar-container {
|
|
392
|
+
background: #1a1a1a;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.mobile-sidebar-wrapper {
|
|
396
|
+
background: #222;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/* scroll bar */
|
|
400
|
+
::-webkit-scrollbar-track {
|
|
401
|
+
background: #333;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
::-webkit-scrollbar-thumb {
|
|
405
|
+
background: #555;
|
|
406
|
+
outline: 0.06125rem solid #555;
|
|
407
|
+
}
|