Skip to content

Commit 5448e0e

Browse files
committed
update theme with css
1 parent fcafe62 commit 5448e0e

81 files changed

Lines changed: 1020 additions & 13508 deletions

File tree

Some content is hidden

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

docs/assets/custom.css

Lines changed: 57 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,75 @@
1-
.site-menu .tsd-navigation > a[href='modules.html'] {
2-
display: none !important;
1+
/*
2+
Force the light theme
3+
*/
4+
:root {
5+
color-scheme: light;
36
}
47

5-
.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-summary {
6-
display: none !important;
7-
}
8-
9-
.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-details {
10-
display: block !important;
11-
}
12-
13-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation {
14-
margin-left: 0 !important;
15-
}
16-
17-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > details > summary,
18-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > a {
19-
font-weight: 600;
20-
padding: 0.88rem !important;
21-
}
22-
23-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation .tsd-accordion-summary {
24-
display: flex !important;
25-
}
26-
27-
.site-menu .tsd-navigation > a[href='modules.html'] {
28-
display: none !important;
29-
}
30-
31-
.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-summary {
32-
display: none !important;
33-
}
34-
35-
.site-menu .tsd-navigation > .tsd-accordion > .tsd-accordion-details {
36-
display: block !important;
37-
}
38-
39-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation {
40-
margin-left: 0 !important;
8+
/*
9+
Hide the index group
10+
*/
11+
.tsd-panel-group.tsd-index-group {
12+
display: none;
4113
}
4214

43-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > details > summary,
44-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation > li > a {
45-
font-weight: 600;
46-
padding: 0.88rem !important;
15+
/*
16+
Hide the hierarchy panel
17+
*/
18+
.tsd-panel.tsd-hierarchy {
19+
display: none;
4720
}
4821

49-
.site-menu .tsd-navigation > .tsd-accordion .tsd-nested-navigation .tsd-accordion-summary {
50-
display: flex !important;
22+
/*
23+
Remove bullet points from the Type declaration
24+
*/
25+
.tsd-type-declaration > .tsd-parameters {
26+
margin: 0;
27+
padding: 0;
28+
list-style-type: none;
5129
}
5230

53-
.tsd-navigation.settings {
54-
display: none !important;
31+
/*
32+
Customize the parameter list to be a table instead of a list
33+
*/
34+
.tsd-parameter-list {
35+
display: table;
36+
width: 100%;
37+
list-style-type: none;
38+
padding: 0;
39+
border-collapse: collapse;
40+
font-size: 0.95rem;
41+
border: 1px solid #e0e0e0;
42+
border-radius: 6px;
43+
overflow: hidden;
5544
}
5645

57-
.tsd-filter-visibility {
58-
display: none !important;
46+
.tsd-parameter-list li {
47+
display: table-row;
48+
background-color: #fcfcfc;
5949
}
6050

61-
.tsd-theme-toggle {
62-
display: none !important;
51+
.tsd-parameter-list li > * {
52+
display: table-cell;
53+
padding: 0.75rem 1rem;
54+
border-bottom: 1px solid #e0e0e0;
6355
}
6456

65-
.tsd-panel-group.tsd-index-group {
57+
/* Hide empty table cells to avoid taking space */
58+
.tsd-parameter-list li > *:empty {
6659
display: none;
6760
}
6861

69-
.tsd-panel.tsd-hierarchy {
70-
display: none;
62+
/*
63+
Customize the member panel to be a card
64+
*/
65+
.tsd-panel.tsd-member {
66+
display: flex;
67+
flex-direction: column;
68+
background-color: #fff;
69+
border: 1px solid #ddd;
70+
border-radius: 0.5rem;
71+
padding: 1rem;
72+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
73+
max-width: 100%;
74+
margin-bottom: 1rem;
7175
}

docs/assets/hierarchy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/highlight.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
--dark-hl-5: #569CD6;
1414
--light-hl-6: #098658;
1515
--dark-hl-6: #B5CEA8;
16-
--light-hl-7: #008000;
17-
--dark-hl-7: #6A9955;
18-
--light-hl-8: #0070C1;
19-
--dark-hl-8: #4FC1FF;
16+
--light-hl-7: #0070C1;
17+
--dark-hl-7: #4FC1FF;
18+
--light-hl-8: #008000;
19+
--dark-hl-8: #6A9955;
2020
--light-hl-9: #000000;
2121
--dark-hl-9: #C8C8C8;
2222
--light-hl-10: #267F99;

0 commit comments

Comments
 (0)