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.
Files changed (61) hide show
  1. package/.github/workflows/{codeql-analysis.yml → codeql.yml} +23 -18
  2. package/.github/workflows/greetings.yml +16 -0
  3. package/CHANGELOG.md +16 -0
  4. package/LICENSE +1 -1
  5. package/README.md +206 -311
  6. package/jsdoc-config.json +7 -5
  7. package/minify.js +52 -0
  8. package/package.json +10 -6
  9. package/publish.js +805 -871
  10. package/static/fonts/Inconsolata-Regular.ttf +0 -0
  11. package/static/fonts/OpenSans-Regular.ttf +0 -0
  12. package/static/fonts/WorkSans-Bold.ttf +0 -0
  13. package/static/scripts/core.js +576 -0
  14. package/static/scripts/core.min.js +23 -0
  15. package/static/scripts/resize.js +59 -54
  16. package/static/scripts/search.js +220 -53
  17. package/static/scripts/search.min.js +11 -0
  18. package/static/scripts/third-party/hljs-line-num.js +1 -0
  19. package/static/scripts/third-party/hljs-original.js +5162 -0
  20. package/static/scripts/third-party/hljs.js +1 -0
  21. package/static/scripts/third-party/popper.js +6 -0
  22. package/static/scripts/third-party/tippy.js +2 -0
  23. package/static/scripts/third-party/tocbot.js +1 -0
  24. package/static/styles/clean-jsdoc-theme-base.css +752 -190
  25. package/static/styles/clean-jsdoc-theme-dark.css +216 -133
  26. package/static/styles/clean-jsdoc-theme-light.css +239 -170
  27. package/static/styles/clean-jsdoc-theme.min.css +1 -0
  28. package/tmpl/container.tmpl +13 -12
  29. package/tmpl/details.tmpl +16 -16
  30. package/tmpl/examples.tmpl +3 -1
  31. package/tmpl/icons.tmpl +43 -5
  32. package/tmpl/layout.tmpl +62 -81
  33. package/tmpl/members.tmpl +1 -2
  34. package/tmpl/method.tmpl +4 -5
  35. package/tmpl/mobile-sidebar.tmpl +21 -0
  36. package/tmpl/navbar-actions.tmpl +19 -0
  37. package/tmpl/navbar-menu.tmpl +25 -0
  38. package/tmpl/navbar.tmpl +14 -0
  39. package/tmpl/returns.tmpl +1 -1
  40. package/tmpl/search.tmpl +17 -0
  41. package/tmpl/sidebar-items.tmpl +24 -0
  42. package/tmpl/sidebar-title.tmpl +10 -0
  43. package/tmpl/sidebar.tmpl +9 -0
  44. package/tmpl/source.tmpl +7 -2
  45. package/tmpl/toc.tmpl +4 -0
  46. package/helpers/navbarBuilder.js +0 -0
  47. package/static/fonts/MavenPro-Regular.ttf +0 -0
  48. package/static/fonts/Montserrat-Regular.ttf +0 -0
  49. package/static/fonts/Muli-Black.ttf +0 -0
  50. package/static/fonts/OFL-hind.txt +0 -93
  51. package/static/fonts/OFL-montserrat.txt +0 -93
  52. package/static/scripts/fix-code-block.js +0 -53
  53. package/static/scripts/fix-navbar.js +0 -25
  54. package/static/scripts/linenumber.js +0 -25
  55. package/static/scripts/misc.js +0 -217
  56. package/static/scripts/third-party/lang-css.js +0 -2
  57. package/static/scripts/third-party/prettify.js +0 -28
  58. package/static/styles/reset.css +0 -351
  59. package/static/styles/third-party/ionicons.min.css +0 -11
  60. package/static/styles/third-party/prettify-jsdoc.css +0 -111
  61. 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,105 +19,115 @@ 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,
114
122
  kbd,
115
123
  samp {
116
- background: #222;
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: #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;
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: #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,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: #000;
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: #000;
235
+ color: #222;
229
236
  }
230
237
 
231
- .tooltip .pun,
232
- .tooltip .typ {
233
- background: #ffce76;
234
- color: #000;
238
+ /* code */
239
+ .hljs-comment {
240
+ color: #8b949e;
235
241
  }
236
242
 
237
- /* code */
238
- .pln {
239
- color: #ffdd4a;
243
+ .hljs-doctag,
244
+ .hljs-keyword,
245
+ .hljs-template-tag,
246
+ .hljs-variable.language_ {
247
+ color: #ff7b72;
240
248
  }
241
249
 
242
- .str {
243
- color: #56e39f;
250
+ .hljs-template-variable,
251
+ .hljs-type {
252
+ color: #30ac7c;
244
253
  }
245
254
 
246
- /* a keyword */
247
- .kwd {
248
- color: #08b2e3;
255
+ .hljs-meta,
256
+ .hljs-string,
257
+ .hljs-regexp {
258
+ color: #a5d6ff;
249
259
  }
250
260
 
251
- /* a comment */
252
- .com {
253
- color: #999;
261
+ .hljs-title.class_,
262
+ .hljs-title {
263
+ color: #ffa657;
254
264
  }
255
265
 
256
- /* a type name */
257
- .typ {
258
- color: #ef6f6c;
266
+ .hljs-title.class_.inherited__,
267
+ .hljs-title.function_ {
268
+ color: #d2a8ff;
259
269
  }
260
270
 
261
- /* a literal value */
262
- .lit {
263
- color: #f5d67b;
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
- /* punctuation */
267
- .pun {
268
- color: #5adbff;
284
+ .hljs-meta .hljs-string,
285
+ .hljs-regexp,
286
+ .hljs-string {
287
+ color: #a5d6ff;
269
288
  }
270
289
 
271
- /* lisp open bracket */
272
- .opn {
273
- color: #72e0d1;
290
+ .hljs-built_in,
291
+ .hljs-symbol {
292
+ color: #ffa657;
274
293
  }
275
294
 
276
- /* lisp close bracket */
277
- .clo {
278
- color: #72e0d1;
295
+ .hljs-code,
296
+ .hljs-comment,
297
+ .hljs-formula {
298
+ color: #8b949e;
279
299
  }
280
300
 
281
- /* a markup tag name */
282
- .tag {
283
- color: #007bff;
301
+ .hljs-name,
302
+ .hljs-quote,
303
+ .hljs-selector-pseudo,
304
+ .hljs-selector-tag {
305
+ color: #7ee787;
284
306
  }
285
307
 
286
- /* a markup attribute name */
287
- .atn {
288
- color: #f5d67b;
308
+ .hljs-subst {
309
+ color: #c9d1d9;
289
310
  }
290
311
 
291
- /* a markup attribute value */
292
- .atv {
293
- color: #3e999f;
312
+ .hljs-section {
313
+ color: #1f6feb;
314
+ font-weight: 700;
294
315
  }
295
316
 
296
- /* a declaration */
297
- .dec {
298
- color: #f5871f;
317
+ .hljs-bullet {
318
+ color: #f2cc60;
299
319
  }
300
320
 
301
- /* a variable name */
302
- .var {
303
- color: #f5d67b;
321
+ .hljs-emphasis {
322
+ color: #c9d1d9;
323
+ font-style: italic;
304
324
  }
305
325
 
306
- /* a function name */
307
- .fun {
308
- color: #4271ae;
326
+ .hljs-strong {
327
+ color: #c9d1d9;
328
+ font-weight: 700;
309
329
  }
310
330
 
331
+ /* code end*/
311
332
 
312
333
  blockquote {
313
- background: #202020;
334
+ background: #222;
314
335
  color: #fff;
315
336
  }
316
337
 
317
- ol.linenums li {
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
- code {
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
+ }