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.
Files changed (58) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +1 -1
  3. package/README.md +203 -310
  4. package/jsdoc-config.json +7 -5
  5. package/minify.js +48 -0
  6. package/package.json +10 -6
  7. package/publish.js +805 -870
  8. package/static/fonts/Inconsolata-Regular.ttf +0 -0
  9. package/static/fonts/OpenSans-Regular.ttf +0 -0
  10. package/static/fonts/WorkSans-Bold.ttf +0 -0
  11. package/static/scripts/core.js +576 -0
  12. package/static/scripts/core.min.js +23 -0
  13. package/static/scripts/resize.js +59 -54
  14. package/static/scripts/search.js +217 -56
  15. package/static/scripts/search.min.js +11 -0
  16. package/static/scripts/third-party/hljs-line-num.js +1 -0
  17. package/static/scripts/third-party/hljs.js +1173 -0
  18. package/static/scripts/third-party/popper.js +6 -0
  19. package/static/scripts/third-party/tippy.js +2 -0
  20. package/static/scripts/third-party/tocbot.js +1 -0
  21. package/static/styles/clean-jsdoc-theme-base.css +738 -190
  22. package/static/styles/clean-jsdoc-theme-dark.css +208 -121
  23. package/static/styles/clean-jsdoc-theme-light.css +241 -168
  24. package/static/styles/clean-jsdoc-theme.min.css +1 -0
  25. package/tmpl/container.tmpl +13 -12
  26. package/tmpl/details.tmpl +16 -16
  27. package/tmpl/examples.tmpl +3 -1
  28. package/tmpl/icons.tmpl +43 -5
  29. package/tmpl/layout.tmpl +60 -79
  30. package/tmpl/members.tmpl +1 -2
  31. package/tmpl/method.tmpl +3 -4
  32. package/tmpl/mobile-sidebar.tmpl +21 -0
  33. package/tmpl/navbar-actions.tmpl +19 -0
  34. package/tmpl/navbar-menu.tmpl +21 -0
  35. package/tmpl/navbar.tmpl +14 -0
  36. package/tmpl/returns.tmpl +1 -1
  37. package/tmpl/search.tmpl +17 -0
  38. package/tmpl/sidebar-items.tmpl +24 -0
  39. package/tmpl/sidebar-title.tmpl +10 -0
  40. package/tmpl/sidebar.tmpl +9 -0
  41. package/tmpl/source.tmpl +7 -2
  42. package/tmpl/toc.tmpl +4 -0
  43. package/helpers/navbarBuilder.js +0 -0
  44. package/static/fonts/MavenPro-Regular.ttf +0 -0
  45. package/static/fonts/Montserrat-Regular.ttf +0 -0
  46. package/static/fonts/Muli-Black.ttf +0 -0
  47. package/static/fonts/OFL-hind.txt +0 -93
  48. package/static/fonts/OFL-montserrat.txt +0 -93
  49. package/static/scripts/fix-code-block.js +0 -53
  50. package/static/scripts/fix-navbar.js +0 -25
  51. package/static/scripts/linenumber.js +0 -25
  52. package/static/scripts/misc.js +0 -217
  53. package/static/scripts/third-party/lang-css.js +0 -2
  54. package/static/scripts/third-party/prettify.js +0 -28
  55. package/static/styles/reset.css +0 -351
  56. package/static/styles/third-party/ionicons.min.css +0 -11
  57. package/static/styles/third-party/prettify-jsdoc.css +0 -111
  58. package/static/styles/third-party/prettify-tomorrow.css +0 -5
@@ -1,20 +1,16 @@
1
1
  ::selection {
2
2
  background: #ffce76;
3
- color: #000;
3
+ color: #222;
4
4
  }
5
5
 
6
6
  body {
7
- background-color: #121216;
8
- color: #f8f8f9;
7
+ background-color: #1a1a1a;
8
+ color: #fff;
9
9
  }
10
10
 
11
11
  a,
12
12
  a:active {
13
- color: #00abff;
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: #f8f8f9;
22
+ color: #fff;
27
23
  }
28
24
 
29
- h1,
30
- h2 {
31
- border-bottom: 0.0625rem solid #333;
25
+ .sidebar {
26
+ background-color: #222;
27
+ color: #999;
32
28
  }
33
29
 
34
- .navbar {
35
- background: #000;
30
+ .sidebar-title {
31
+ color: #999;
36
32
  }
37
33
 
38
- .navbar-ham {
39
- background: #444;
34
+ .sidebar-section-title {
35
+ color: #999;
40
36
  }
41
37
 
42
- .navbar-ham .first,
43
- .navbar-ham .second,
44
- .navbar-ham .third {
45
- background: #fff;
38
+ .sidebar-section-title:hover {
39
+ background: #252525;
46
40
  }
47
41
 
48
- .navbar-resize {
49
- background: #222;
42
+ .with-arrow {
43
+ fill: #999;
50
44
  }
51
45
 
52
- .resize-dots-container .dots {
53
- background-color: #fff;
46
+ .sidebar-section-children-container {
47
+ background: #292929;
54
48
  }
55
49
 
56
-
57
- .search-box-input-container {
58
- background: #2a2b2c;
50
+ .sidebar-section-children a:hover {
51
+ background: #2c2c2c;
59
52
  }
60
53
 
61
- .search-icon {
62
- fill: #aeaeae;
54
+ .sidebar-section-children a {
55
+ color: #fff;
63
56
  }
64
57
 
65
- .search-box-input {
66
- color: #fff;
58
+ .navbar-container {
59
+ background: #1a1a1a;
67
60
  }
68
61
 
69
- .search-box-input::placeholder {
70
- color: #aeaeae;
62
+ .icon-button svg,
63
+ .navbar-item a {
64
+ color: #999;
65
+ fill: #999;
71
66
  }
72
67
 
73
- .search-box-input:focus + .search-icon {
68
+ .font-size-tooltip .icon-button svg {
74
69
  fill: #fff;
75
70
  }
76
71
 
77
- .search-item-ul {
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
- .search-item-ul li:hover {
82
- background: rgba(0, 0, 0, 0.1);
80
+ .icon-button:active {
81
+ background: #444;
83
82
  }
84
83
 
85
- .search-item-ul a,
86
- .search-item-ul li {
87
- color: #fff;
84
+ .navbar-item a:active {
85
+ color: #aaa;
86
+ background-color: #222;
88
87
  }
89
88
 
90
- .accordion-heading {
91
- color: #fff;
92
- fill: #fff;
89
+ .navbar-item:hover {
90
+ background: #202020;
93
91
  }
94
92
 
95
- .accordion-content {
96
- background: #111;
93
+ .footer {
94
+ background: #222;
95
+ color: #999;
97
96
  }
98
97
 
99
- .accordion-content a {
100
- color: #fff;
98
+ .footer a {
99
+ color: #999;
101
100
  }
102
101
 
103
- .methods.accordion-content {
104
- background: #202020;
102
+ .toc-link {
103
+ color: #777;
104
+ transition: color 0.3s;
105
+ font-size: 0.875rem;
105
106
  }
106
107
 
107
- .menu-link {
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: #000;
153
+ background: #222;
148
154
  color: #fff;
149
155
  }
150
156
 
151
- .prettyprint,
152
- .pre-top-bar-container {
153
- background: #000;
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: #090909;
171
+ background: #292929;
163
172
  }
164
173
 
165
174
  .prettyprint.source,
166
175
  .prettyprint code {
167
- background-color: #000;
176
+ background-color: #222;
177
+ color: #c9d1d9;
168
178
  }
169
179
 
170
- .prettyprint.linenums li {
171
- border-left: 3px #222831 solid;
180
+ .pre-div {
181
+ background-color: #222;
172
182
  }
173
183
 
174
- /* stylelint-disable */
175
- .prettyprint.linenums li.selected,
176
- .prettyprint.linenums li.selected * {
177
- background-color: #404040;
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: #000;
191
- border-top: 1px solid #191919;
207
+ background-color: #292929;
192
208
  }
193
209
 
194
- table thead tr,
195
- .params thead tr,
196
- .props thead tr {
197
- background-color: #000;
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: #000;
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: #333;
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: #000;
243
+ color: #222;
229
244
  }
230
245
 
231
246
  .tooltip .pun,
232
247
  .tooltip .typ {
233
248
  background: #ffce76;
234
- color: #000;
249
+ color: #222;
235
250
  }
236
251
 
237
252
  /* code */
238
- .pln {
239
- color: #ffdd4a;
253
+ .hljs-comment {
254
+ color: #8b949e;
240
255
  }
241
256
 
242
- .str {
243
- color: #56e39f;
257
+ .hljs-doctag,
258
+ .hljs-keyword,
259
+ .hljs-template-tag,
260
+ .hljs-variable.language_ {
261
+ color: #ff7b72;
244
262
  }
245
263
 
246
- /* a keyword */
247
- .kwd {
248
- color: #08b2e3;
264
+ .hljs-template-variable,
265
+ .hljs-type {
266
+ color: #30ac7c;
249
267
  }
250
268
 
251
- /* a comment */
252
- .com {
253
- color: #999;
269
+ .hljs-meta,
270
+ .hljs-string,
271
+ .hljs-regexp {
272
+ color: #a5d6ff;
254
273
  }
255
274
 
256
- /* a type name */
257
- .typ {
258
- color: #ef6f6c;
275
+ .hljs-title.class_,
276
+ .hljs-title {
277
+ color: #ffa657;
259
278
  }
260
279
 
261
- /* a literal value */
262
- .lit {
263
- color: #f5d67b;
280
+ .hljs-title.class_.inherited__,
281
+ .hljs-title.function_ {
282
+ color: #d2a8ff;
264
283
  }
265
284
 
266
- /* punctuation */
267
- .pun {
268
- color: #5adbff;
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
- /* lisp open bracket */
272
- .opn {
273
- color: #72e0d1;
298
+ .hljs-meta .hljs-string,
299
+ .hljs-regexp,
300
+ .hljs-string {
301
+ color: #a5d6ff;
274
302
  }
275
303
 
276
- /* lisp close bracket */
277
- .clo {
278
- color: #72e0d1;
304
+ .hljs-built_in,
305
+ .hljs-symbol {
306
+ color: #ffa657;
279
307
  }
280
308
 
281
- /* a markup tag name */
282
- .tag {
283
- color: #007bff;
309
+ .hljs-code,
310
+ .hljs-comment,
311
+ .hljs-formula {
312
+ color: #8b949e;
284
313
  }
285
314
 
286
- /* a markup attribute name */
287
- .atn {
288
- color: #f5d67b;
315
+ .hljs-name,
316
+ .hljs-quote,
317
+ .hljs-selector-pseudo,
318
+ .hljs-selector-tag {
319
+ color: #7ee787;
289
320
  }
290
321
 
291
- /* a markup attribute value */
292
- .atv {
293
- color: #3e999f;
322
+ .hljs-subst {
323
+ color: #c9d1d9;
294
324
  }
295
325
 
296
- /* a declaration */
297
- .dec {
298
- color: #f5871f;
326
+ .hljs-section {
327
+ color: #1f6feb;
328
+ font-weight: 700;
299
329
  }
300
330
 
301
- /* a variable name */
302
- .var {
303
- color: #f5d67b;
331
+ .hljs-bullet {
332
+ color: #f2cc60;
304
333
  }
305
334
 
306
- /* a function name */
307
- .fun {
308
- color: #4271ae;
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: #202020;
348
+ background: #222;
314
349
  color: #fff;
315
350
  }
316
351
 
317
- ol.linenums li {
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
- code {
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
+ }