Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
medic-ci committed Aug 19, 2024
1 parent dc7442c commit 00671ef
Show file tree
Hide file tree
Showing 30 changed files with 151 additions and 191 deletions.
31 changes: 14 additions & 17 deletions assets/icons.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions assets/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 31 additions & 67 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
--light-color-text: #222;
--light-color-text-aside: #6e6e6e;
--light-color-link: #1f70c2;
--light-color-focus-outline: #3584e4;

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

--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>");
--light-color-scheme: light;
Expand All @@ -52,7 +50,6 @@
--dark-color-text: #f5f5f5;
--dark-color-text-aside: #dddddd;
--dark-color-link: #00aff4;
--dark-color-focus-outline: #4c97f2;

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

--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>");
--dark-color-scheme: dark;
Expand All @@ -96,7 +92,6 @@
--color-text: var(--light-color-text);
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);
--color-focus-outline: var(--light-color-focus-outline);

--color-ts-keyword: var(--light-color-ts-keyword);
--color-ts-module: var(--light-color-ts-module);
Expand All @@ -121,7 +116,6 @@
--color-ts-get-signature: var(--light-color-ts-get-signature);
--color-ts-set-signature: var(--light-color-ts-set-signature);
--color-ts-type-alias: var(--light-color-ts-type-alias);
--color-document: var(--light-color-document);

--external-icon: var(--light-external-icon);
--color-scheme: var(--light-color-scheme);
Expand All @@ -140,7 +134,6 @@
--color-text: var(--dark-color-text);
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);
--color-focus-outline: var(--dark-color-focus-outline);

--color-ts-keyword: var(--dark-color-ts-keyword);
--color-ts-module: var(--dark-color-ts-module);
Expand All @@ -165,7 +158,6 @@
--color-ts-get-signature: var(--dark-color-ts-get-signature);
--color-ts-set-signature: var(--dark-color-ts-set-signature);
--color-ts-type-alias: var(--dark-color-ts-type-alias);
--color-document: var(--dark-color-document);

--external-icon: var(--dark-external-icon);
--color-scheme: var(--dark-color-scheme);
Expand All @@ -191,7 +183,6 @@ body {
--color-text: var(--light-color-text);
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);
--color-focus-outline: var(--light-color-focus-outline);

--color-ts-keyword: var(--light-color-ts-keyword);
--color-ts-module: var(--light-color-ts-module);
Expand All @@ -216,7 +207,6 @@ body {
--color-ts-get-signature: var(--light-color-ts-get-signature);
--color-ts-set-signature: var(--light-color-ts-set-signature);
--color-ts-type-alias: var(--light-color-ts-type-alias);
--color-document: var(--light-color-document);

--external-icon: var(--light-external-icon);
--color-scheme: var(--light-color-scheme);
Expand All @@ -233,7 +223,6 @@ body {
--color-text: var(--dark-color-text);
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);
--color-focus-outline: var(--dark-color-focus-outline);

--color-ts-keyword: var(--dark-color-ts-keyword);
--color-ts-module: var(--dark-color-ts-module);
Expand All @@ -258,17 +247,11 @@ body {
--color-ts-get-signature: var(--dark-color-ts-get-signature);
--color-ts-set-signature: var(--dark-color-ts-set-signature);
--color-ts-type-alias: var(--dark-color-ts-type-alias);
--color-document: var(--dark-color-document);

--external-icon: var(--dark-external-icon);
--color-scheme: var(--dark-color-scheme);
}

*:focus-visible,
.tsd-accordion-summary:focus-visible svg {
outline: 2px solid var(--color-focus-outline);
}

.always-visible,
.always-visible .tsd-signatures {
display: inherit !important;
Expand All @@ -283,6 +266,16 @@ h6 {
line-height: 1.2;
}

h1 > a:not(.link),
h2 > a:not(.link),
h3 > a:not(.link),
h4 > a:not(.link),
h5 > a:not(.link),
h6 > a:not(.link) {
text-decoration: none;
color: var(--color-text);
}

h1 {
font-size: 1.875rem;
margin: 0.67rem 0;
Expand Down Expand Up @@ -313,6 +306,10 @@ h6 {
margin: 2.33rem 0;
}

.uppercase {
text-transform: uppercase;
}

dl,
menu,
ol,
Expand All @@ -336,7 +333,7 @@ footer {
padding-bottom: 1rem;
max-height: 3.5rem;
}
footer > p {
.tsd-generator {
margin: 0 1em;
}

Expand Down Expand Up @@ -424,9 +421,6 @@ a.external[target="_blank"] {
background-repeat: no-repeat;
padding-right: 13px;
}
a.tsd-anchor-link {
color: var(--color-text);
}

code,
pre {
Expand Down Expand Up @@ -586,13 +580,13 @@ dl.tsd-comment-tag-group p {
}
.tsd-filter-input {
display: flex;
width: -moz-fit-content;
width: fit-content;
width: -moz-fit-content;
align-items: center;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
.tsd-filter-input input[type="checkbox"] {
Expand All @@ -615,8 +609,11 @@ dl.tsd-comment-tag-group p {
Don't remove unless you know what you're doing. */
opacity: 0.99;
}
.tsd-filter-input input[type="checkbox"]:focus-visible + svg {
outline: 2px solid var(--color-focus-outline);
.tsd-filter-input input[type="checkbox"]:focus + svg {
transform: scale(0.95);
}
.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
transform: scale(1);
}
.tsd-checkbox-background {
fill: var(--color-accent);
Expand All @@ -633,18 +630,13 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
stroke: var(--color-accent);
}

.settings-label {
font-weight: bold;
text-transform: uppercase;
display: inline-block;
}

.tsd-filter-visibility .settings-label {
margin: 0.75rem 0 0.5rem 0;
.tsd-theme-toggle {
padding-top: 0.75rem;
}

.tsd-theme-toggle .settings-label {
margin: 0.75rem 0.75rem 0 0;
.tsd-theme-toggle > h4 {
display: inline;
vertical-align: middle;
margin-right: 0.75rem;
}

.tsd-hierarchy {
Expand Down Expand Up @@ -777,9 +769,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
padding: 0;
max-width: 100%;
}
.tsd-navigation .tsd-nav-link {
display: none;
}
.tsd-nested-navigation {
margin-left: 3rem;
}
Expand All @@ -793,15 +782,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
margin-left: -1.5rem;
}

.tsd-page-navigation-section {
margin-left: 10px;
}
.tsd-page-navigation-section > summary {
padding: 0.25rem;
}
.tsd-page-navigation-section > div {
margin-left: 20px;
}
.tsd-page-navigation ul {
padding-left: 1.75rem;
}
Expand Down Expand Up @@ -832,10 +812,10 @@ a.tsd-index-link {
}
.tsd-accordion-summary,
.tsd-accordion-summary a {
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;

cursor: pointer;
}
Expand All @@ -848,9 +828,8 @@ a.tsd-index-link {
padding-top: 0;
padding-bottom: 0;
}
.tsd-accordion .tsd-accordion-summary > svg {
.tsd-index-accordion .tsd-accordion-summary > svg {
margin-left: 0.25rem;
vertical-align: text-top;
}
.tsd-index-content > :not(:first-child) {
margin-top: 0.75rem;
Expand Down Expand Up @@ -898,17 +877,14 @@ a.tsd-index-link {
}

.tsd-panel-group {
margin: 2rem 0;
margin: 4rem 0;
}
.tsd-panel-group.tsd-index-group {
margin: 2rem 0;
}
.tsd-panel-group.tsd-index-group details {
margin: 2rem 0;
}
.tsd-panel-group > .tsd-accordion-summary {
margin-bottom: 1rem;
}

#tsd-search {
transition: background-color 0.2s;
Expand Down Expand Up @@ -1058,12 +1034,6 @@ a.tsd-index-link {
border-width: 1px 0;
transition: background-color 0.1s;
}
.tsd-signatures .tsd-index-signature:not(:last-child) {
margin-bottom: 1em;
}
.tsd-signatures .tsd-index-signature .tsd-signature {
border-width: 1px;
}
.tsd-description .tsd-signatures .tsd-signature {
border-width: 1px;
}
Expand Down Expand Up @@ -1377,12 +1347,6 @@ img {
.has-menu .tsd-navigation {
max-height: 100%;
}
#tsd-toolbar-links {
display: none;
}
.tsd-navigation .tsd-nav-link {
display: flex;
}
}

/* one sidebar */
Expand Down
Loading

0 comments on commit 00671ef

Please sign in to comment.