clean-jsdoc-theme 3.3.2 → 4.0.0
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/CHANGELOG.md +16 -0
- package/LICENSE +1 -1
- package/README.md +203 -310
- package/jsdoc-config.json +7 -5
- package/minify.js +48 -0
- package/package.json +10 -6
- package/publish.js +805 -870
- 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 +217 -56
- 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.js +1173 -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 +738 -190
- package/static/styles/clean-jsdoc-theme-dark.css +208 -121
- package/static/styles/clean-jsdoc-theme-light.css +241 -168
- 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 +60 -79
- package/tmpl/members.tmpl +1 -2
- package/tmpl/method.tmpl +3 -4
- package/tmpl/mobile-sidebar.tmpl +21 -0
- package/tmpl/navbar-actions.tmpl +19 -0
- package/tmpl/navbar-menu.tmpl +21 -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,91 +19,103 @@ 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,
|
|
@@ -116,12 +124,10 @@ samp {
|
|
|
116
124
|
background: #222;
|
|
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;
|
|
178
190
|
}
|
|
191
|
+
|
|
192
|
+
.hljs .selected .hljs-ln-numbers {
|
|
193
|
+
color: #eee;
|
|
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,11 +218,10 @@ 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
|
}
|
|
@@ -216,7 +231,7 @@ table .params thead tr,
|
|
|
216
231
|
}
|
|
217
232
|
|
|
218
233
|
.code-copy-icon-container:hover {
|
|
219
|
-
background-color: #
|
|
234
|
+
background-color: #444;
|
|
220
235
|
}
|
|
221
236
|
|
|
222
237
|
.code-lang-name {
|
|
@@ -225,100 +240,172 @@ table .params thead tr,
|
|
|
225
240
|
|
|
226
241
|
.tooltip {
|
|
227
242
|
background: #ffce76;
|
|
228
|
-
color: #
|
|
243
|
+
color: #222;
|
|
229
244
|
}
|
|
230
245
|
|
|
231
246
|
.tooltip .pun,
|
|
232
247
|
.tooltip .typ {
|
|
233
248
|
background: #ffce76;
|
|
234
|
-
color: #
|
|
249
|
+
color: #222;
|
|
235
250
|
}
|
|
236
251
|
|
|
237
252
|
/* code */
|
|
238
|
-
.
|
|
239
|
-
color: #
|
|
253
|
+
.hljs-comment {
|
|
254
|
+
color: #8b949e;
|
|
240
255
|
}
|
|
241
256
|
|
|
242
|
-
.
|
|
243
|
-
|
|
257
|
+
.hljs-doctag,
|
|
258
|
+
.hljs-keyword,
|
|
259
|
+
.hljs-template-tag,
|
|
260
|
+
.hljs-variable.language_ {
|
|
261
|
+
color: #ff7b72;
|
|
244
262
|
}
|
|
245
263
|
|
|
246
|
-
|
|
247
|
-
.
|
|
248
|
-
color: #
|
|
264
|
+
.hljs-template-variable,
|
|
265
|
+
.hljs-type {
|
|
266
|
+
color: #30ac7c;
|
|
249
267
|
}
|
|
250
268
|
|
|
251
|
-
|
|
252
|
-
.
|
|
253
|
-
|
|
269
|
+
.hljs-meta,
|
|
270
|
+
.hljs-string,
|
|
271
|
+
.hljs-regexp {
|
|
272
|
+
color: #a5d6ff;
|
|
254
273
|
}
|
|
255
274
|
|
|
256
|
-
|
|
257
|
-
.
|
|
258
|
-
color: #
|
|
275
|
+
.hljs-title.class_,
|
|
276
|
+
.hljs-title {
|
|
277
|
+
color: #ffa657;
|
|
259
278
|
}
|
|
260
279
|
|
|
261
|
-
|
|
262
|
-
.
|
|
263
|
-
color: #
|
|
280
|
+
.hljs-title.class_.inherited__,
|
|
281
|
+
.hljs-title.function_ {
|
|
282
|
+
color: #d2a8ff;
|
|
264
283
|
}
|
|
265
284
|
|
|
266
|
-
|
|
267
|
-
.
|
|
268
|
-
|
|
285
|
+
.hljs-attr,
|
|
286
|
+
.hljs-attribute,
|
|
287
|
+
.hljs-literal,
|
|
288
|
+
.hljs-meta,
|
|
289
|
+
.hljs-number,
|
|
290
|
+
.hljs-operator,
|
|
291
|
+
.hljs-selector-attr,
|
|
292
|
+
.hljs-selector-class,
|
|
293
|
+
.hljs-selector-id,
|
|
294
|
+
.hljs-variable {
|
|
295
|
+
color: #79c0ff;
|
|
269
296
|
}
|
|
270
297
|
|
|
271
|
-
|
|
272
|
-
.
|
|
273
|
-
|
|
298
|
+
.hljs-meta .hljs-string,
|
|
299
|
+
.hljs-regexp,
|
|
300
|
+
.hljs-string {
|
|
301
|
+
color: #a5d6ff;
|
|
274
302
|
}
|
|
275
303
|
|
|
276
|
-
|
|
277
|
-
.
|
|
278
|
-
color: #
|
|
304
|
+
.hljs-built_in,
|
|
305
|
+
.hljs-symbol {
|
|
306
|
+
color: #ffa657;
|
|
279
307
|
}
|
|
280
308
|
|
|
281
|
-
|
|
282
|
-
.
|
|
283
|
-
|
|
309
|
+
.hljs-code,
|
|
310
|
+
.hljs-comment,
|
|
311
|
+
.hljs-formula {
|
|
312
|
+
color: #8b949e;
|
|
284
313
|
}
|
|
285
314
|
|
|
286
|
-
|
|
287
|
-
.
|
|
288
|
-
|
|
315
|
+
.hljs-name,
|
|
316
|
+
.hljs-quote,
|
|
317
|
+
.hljs-selector-pseudo,
|
|
318
|
+
.hljs-selector-tag {
|
|
319
|
+
color: #7ee787;
|
|
289
320
|
}
|
|
290
321
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
color: #3e999f;
|
|
322
|
+
.hljs-subst {
|
|
323
|
+
color: #c9d1d9;
|
|
294
324
|
}
|
|
295
325
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
326
|
+
.hljs-section {
|
|
327
|
+
color: #1f6feb;
|
|
328
|
+
font-weight: 700;
|
|
299
329
|
}
|
|
300
330
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
color: #f5d67b;
|
|
331
|
+
.hljs-bullet {
|
|
332
|
+
color: #f2cc60;
|
|
304
333
|
}
|
|
305
334
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
335
|
+
.hljs-emphasis {
|
|
336
|
+
color: #c9d1d9;
|
|
337
|
+
font-style: italic;
|
|
309
338
|
}
|
|
310
339
|
|
|
340
|
+
.hljs-strong {
|
|
341
|
+
color: #c9d1d9;
|
|
342
|
+
font-weight: 700;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* code end*/
|
|
311
346
|
|
|
312
347
|
blockquote {
|
|
313
|
-
background: #
|
|
348
|
+
background: #222;
|
|
314
349
|
color: #fff;
|
|
315
350
|
}
|
|
316
351
|
|
|
317
|
-
|
|
352
|
+
.search-container {
|
|
353
|
+
background: rgba(255, 255, 255, 0.1);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.icon-button.search-close-button svg {
|
|
357
|
+
fill: #a00;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.search-container .wrapper {
|
|
361
|
+
background: #222;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.search-result-c {
|
|
365
|
+
color: #666;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.search-box-c {
|
|
369
|
+
fill: #333;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.search-input {
|
|
373
|
+
background: #333;
|
|
318
374
|
color: #fff;
|
|
319
375
|
}
|
|
320
376
|
|
|
321
|
-
|
|
377
|
+
.search-box-c svg {
|
|
378
|
+
fill: #fff;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.search-result-item {
|
|
322
382
|
background: #333;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.search-result-item:hover {
|
|
386
|
+
background: #444;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.search-result-item:active {
|
|
390
|
+
background: #555;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.search-result-item-title {
|
|
323
394
|
color: #fff;
|
|
324
395
|
}
|
|
396
|
+
|
|
397
|
+
.search-result-item-p {
|
|
398
|
+
color: #aaa;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.mobile-menu-icon-container .icon-button {
|
|
402
|
+
background: #333;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.mobile-sidebar-container {
|
|
406
|
+
background: #1a1a1a;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.mobile-sidebar-wrapper {
|
|
410
|
+
background: #222;
|
|
411
|
+
}
|