Skip to content

Commit 508da96

Browse files
Maintain/v0.1.0
1 parent 8d2a10c commit 508da96

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+291
-227
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.0
2+
3+
- Cleanup
4+
15
## 0.0.8
26

37
- Cleanup

Documentation/assets/custom.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
--dark-color-background-secondary: #000;
44
--dark-code-background: #040404;
55
--color-accent: #2463eb;
6-
--light-hl-0: #ffdd00;
7-
--light-hl-1: #ff66ff;
8-
--light-hl-2: #ff4444;
9-
--light-hl-3: #44ffff;
10-
--light-hl-4: #44ff44;
6+
--light-hl-0: #b58900;
7+
--light-hl-1: #d33682;
8+
--light-hl-2: #dc322f;
9+
--light-hl-3: #2aa198;
10+
--light-hl-4: #859900;
1111
--dark-hl-0: #ffdd00;
1212
--dark-hl-1: #ff66ff;
1313
--dark-hl-2: #ff4444;

Documentation/assets/icons.js

+17-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/assets/icons.svg

+1-1
Loading

Documentation/assets/main.js

+5-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/assets/search.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Documentation/assets/style.css

+67-31
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
--light-color-text: #222;
1111
--light-color-text-aside: #6e6e6e;
1212
--light-color-link: #1f70c2;
13+
--light-color-focus-outline: #3584e4;
1314

1415
--light-color-ts-keyword: #056bd6;
1516
--light-color-ts-project: #b111c9;
@@ -35,6 +36,7 @@
3536
--light-color-ts-set-signature: var(--light-color-ts-accessor);
3637
--light-color-ts-type-alias: #d51270;
3738
/* reference not included as links will be colored with the kind that it points to */
39+
--light-color-document: #000000;
3840

3941
--light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
4042
--light-color-scheme: light;
@@ -50,6 +52,7 @@
5052
--dark-color-text: #f5f5f5;
5153
--dark-color-text-aside: #dddddd;
5254
--dark-color-link: #00aff4;
55+
--dark-color-focus-outline: #4c97f2;
5356

5457
--dark-color-ts-keyword: #3399ff;
5558
--dark-color-ts-project: #e358ff;
@@ -75,6 +78,7 @@
7578
--dark-color-ts-set-signature: var(--dark-color-ts-accessor);
7679
--dark-color-ts-type-alias: #ff6492;
7780
/* reference not included as links will be colored with the kind that it points to */
81+
--dark-color-document: #ffffff;
7882

7983
--dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
8084
--dark-color-scheme: dark;
@@ -92,6 +96,7 @@
9296
--color-text: var(--light-color-text);
9397
--color-text-aside: var(--light-color-text-aside);
9498
--color-link: var(--light-color-link);
99+
--color-focus-outline: var(--light-color-focus-outline);
95100

96101
--color-ts-keyword: var(--light-color-ts-keyword);
97102
--color-ts-module: var(--light-color-ts-module);
@@ -116,6 +121,7 @@
116121
--color-ts-get-signature: var(--light-color-ts-get-signature);
117122
--color-ts-set-signature: var(--light-color-ts-set-signature);
118123
--color-ts-type-alias: var(--light-color-ts-type-alias);
124+
--color-document: var(--light-color-document);
119125

120126
--external-icon: var(--light-external-icon);
121127
--color-scheme: var(--light-color-scheme);
@@ -134,6 +140,7 @@
134140
--color-text: var(--dark-color-text);
135141
--color-text-aside: var(--dark-color-text-aside);
136142
--color-link: var(--dark-color-link);
143+
--color-focus-outline: var(--dark-color-focus-outline);
137144

138145
--color-ts-keyword: var(--dark-color-ts-keyword);
139146
--color-ts-module: var(--dark-color-ts-module);
@@ -158,6 +165,7 @@
158165
--color-ts-get-signature: var(--dark-color-ts-get-signature);
159166
--color-ts-set-signature: var(--dark-color-ts-set-signature);
160167
--color-ts-type-alias: var(--dark-color-ts-type-alias);
168+
--color-document: var(--dark-color-document);
161169

162170
--external-icon: var(--dark-external-icon);
163171
--color-scheme: var(--dark-color-scheme);
@@ -183,6 +191,7 @@ body {
183191
--color-text: var(--light-color-text);
184192
--color-text-aside: var(--light-color-text-aside);
185193
--color-link: var(--light-color-link);
194+
--color-focus-outline: var(--light-color-focus-outline);
186195

187196
--color-ts-keyword: var(--light-color-ts-keyword);
188197
--color-ts-module: var(--light-color-ts-module);
@@ -207,6 +216,7 @@ body {
207216
--color-ts-get-signature: var(--light-color-ts-get-signature);
208217
--color-ts-set-signature: var(--light-color-ts-set-signature);
209218
--color-ts-type-alias: var(--light-color-ts-type-alias);
219+
--color-document: var(--light-color-document);
210220

211221
--external-icon: var(--light-external-icon);
212222
--color-scheme: var(--light-color-scheme);
@@ -223,6 +233,7 @@ body {
223233
--color-text: var(--dark-color-text);
224234
--color-text-aside: var(--dark-color-text-aside);
225235
--color-link: var(--dark-color-link);
236+
--color-focus-outline: var(--dark-color-focus-outline);
226237

227238
--color-ts-keyword: var(--dark-color-ts-keyword);
228239
--color-ts-module: var(--dark-color-ts-module);
@@ -247,11 +258,17 @@ body {
247258
--color-ts-get-signature: var(--dark-color-ts-get-signature);
248259
--color-ts-set-signature: var(--dark-color-ts-set-signature);
249260
--color-ts-type-alias: var(--dark-color-ts-type-alias);
261+
--color-document: var(--dark-color-document);
250262

251263
--external-icon: var(--dark-external-icon);
252264
--color-scheme: var(--dark-color-scheme);
253265
}
254266

267+
*:focus-visible,
268+
.tsd-accordion-summary:focus-visible svg {
269+
outline: 2px solid var(--color-focus-outline);
270+
}
271+
255272
.always-visible,
256273
.always-visible .tsd-signatures {
257274
display: inherit !important;
@@ -266,16 +283,6 @@ h6 {
266283
line-height: 1.2;
267284
}
268285

269-
h1 > a:not(.link),
270-
h2 > a:not(.link),
271-
h3 > a:not(.link),
272-
h4 > a:not(.link),
273-
h5 > a:not(.link),
274-
h6 > a:not(.link) {
275-
text-decoration: none;
276-
color: var(--color-text);
277-
}
278-
279286
h1 {
280287
font-size: 1.875rem;
281288
margin: 0.67rem 0;
@@ -306,10 +313,6 @@ h6 {
306313
margin: 2.33rem 0;
307314
}
308315

309-
.uppercase {
310-
text-transform: uppercase;
311-
}
312-
313316
dl,
314317
menu,
315318
ol,
@@ -333,7 +336,7 @@ footer {
333336
padding-bottom: 1rem;
334337
max-height: 3.5rem;
335338
}
336-
.tsd-generator {
339+
footer > p {
337340
margin: 0 1em;
338341
}
339342

@@ -421,6 +424,9 @@ a.external[target="_blank"] {
421424
background-repeat: no-repeat;
422425
padding-right: 13px;
423426
}
427+
a.tsd-anchor-link {
428+
color: var(--color-text);
429+
}
424430

425431
code,
426432
pre {
@@ -580,13 +586,13 @@ dl.tsd-comment-tag-group p {
580586
}
581587
.tsd-filter-input {
582588
display: flex;
583-
width: fit-content;
584589
width: -moz-fit-content;
590+
width: fit-content;
585591
align-items: center;
586-
user-select: none;
587592
-webkit-user-select: none;
588593
-moz-user-select: none;
589594
-ms-user-select: none;
595+
user-select: none;
590596
cursor: pointer;
591597
}
592598
.tsd-filter-input input[type="checkbox"] {
@@ -609,11 +615,8 @@ dl.tsd-comment-tag-group p {
609615
Don't remove unless you know what you're doing. */
610616
opacity: 0.99;
611617
}
612-
.tsd-filter-input input[type="checkbox"]:focus + svg {
613-
transform: scale(0.95);
614-
}
615-
.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
616-
transform: scale(1);
618+
.tsd-filter-input input[type="checkbox"]:focus-visible + svg {
619+
outline: 2px solid var(--color-focus-outline);
617620
}
618621
.tsd-checkbox-background {
619622
fill: var(--color-accent);
@@ -630,13 +633,18 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
630633
stroke: var(--color-accent);
631634
}
632635

633-
.tsd-theme-toggle {
634-
padding-top: 0.75rem;
636+
.settings-label {
637+
font-weight: bold;
638+
text-transform: uppercase;
639+
display: inline-block;
635640
}
636-
.tsd-theme-toggle > h4 {
637-
display: inline;
638-
vertical-align: middle;
639-
margin-right: 0.75rem;
641+
642+
.tsd-filter-visibility .settings-label {
643+
margin: 0.75rem 0 0.5rem 0;
644+
}
645+
646+
.tsd-theme-toggle .settings-label {
647+
margin: 0.75rem 0.75rem 0 0;
640648
}
641649

642650
.tsd-hierarchy {
@@ -769,6 +777,9 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
769777
padding: 0;
770778
max-width: 100%;
771779
}
780+
.tsd-navigation .tsd-nav-link {
781+
display: none;
782+
}
772783
.tsd-nested-navigation {
773784
margin-left: 3rem;
774785
}
@@ -782,6 +793,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
782793
margin-left: -1.5rem;
783794
}
784795

796+
.tsd-page-navigation-section {
797+
margin-left: 10px;
798+
}
799+
.tsd-page-navigation-section > summary {
800+
padding: 0.25rem;
801+
}
802+
.tsd-page-navigation-section > div {
803+
margin-left: 20px;
804+
}
785805
.tsd-page-navigation ul {
786806
padding-left: 1.75rem;
787807
}
@@ -812,10 +832,10 @@ a.tsd-index-link {
812832
}
813833
.tsd-accordion-summary,
814834
.tsd-accordion-summary a {
815-
user-select: none;
816835
-moz-user-select: none;
817836
-webkit-user-select: none;
818837
-ms-user-select: none;
838+
user-select: none;
819839

820840
cursor: pointer;
821841
}
@@ -828,8 +848,9 @@ a.tsd-index-link {
828848
padding-top: 0;
829849
padding-bottom: 0;
830850
}
831-
.tsd-index-accordion .tsd-accordion-summary > svg {
851+
.tsd-accordion .tsd-accordion-summary > svg {
832852
margin-left: 0.25rem;
853+
vertical-align: text-top;
833854
}
834855
.tsd-index-content > :not(:first-child) {
835856
margin-top: 0.75rem;
@@ -877,14 +898,17 @@ a.tsd-index-link {
877898
}
878899

879900
.tsd-panel-group {
880-
margin: 4rem 0;
901+
margin: 2rem 0;
881902
}
882903
.tsd-panel-group.tsd-index-group {
883904
margin: 2rem 0;
884905
}
885906
.tsd-panel-group.tsd-index-group details {
886907
margin: 2rem 0;
887908
}
909+
.tsd-panel-group > .tsd-accordion-summary {
910+
margin-bottom: 1rem;
911+
}
888912

889913
#tsd-search {
890914
transition: background-color 0.2s;
@@ -1034,6 +1058,12 @@ a.tsd-index-link {
10341058
border-width: 1px 0;
10351059
transition: background-color 0.1s;
10361060
}
1061+
.tsd-signatures .tsd-index-signature:not(:last-child) {
1062+
margin-bottom: 1em;
1063+
}
1064+
.tsd-signatures .tsd-index-signature .tsd-signature {
1065+
border-width: 1px;
1066+
}
10371067
.tsd-description .tsd-signatures .tsd-signature {
10381068
border-width: 1px;
10391069
}
@@ -1347,6 +1377,12 @@ img {
13471377
.has-menu .tsd-navigation {
13481378
max-height: 100%;
13491379
}
1380+
#tsd-toolbar-links {
1381+
display: none;
1382+
}
1383+
.tsd-navigation .tsd-nav-link {
1384+
display: flex;
1385+
}
13501386
}
13511387

13521388
/* one sidebar */

0 commit comments

Comments
 (0)