Skip to content

Commit d4d5007

Browse files
committed
continue styling
1 parent ff590d0 commit d4d5007

33 files changed

+348
-322
lines changed

docs-theme/assets/css/main.css

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
12
:root {
23
--navy: #282c35;
34
--black: #21242b;
@@ -11,6 +12,8 @@
1112
--red: #e36a79;
1213
--purple: #c774e8;
1314

15+
--leading: 1.5;
16+
1417
--color-background: var(--black);
1518
--color-text: var(--white);
1619
--color-text-aside: var(--grey);
@@ -24,12 +27,12 @@
2427
--color-comment-tag-text: var(--grey);
2528
--color-code-background: rgba(0, 0, 0, 0.04);
2629
--color-ts: var(--purple);
27-
--color-ts-interface: var(--green);
30+
--color-ts-interface: var(--yellow);
2831
--color-ts-enum: var(--tan);
2932
--color-ts-class: var(--lightGrey);
3033
--color-ts-private: var(--grey);
31-
--color-toolbar: var(--white);
32-
--color-toolbar-text: var(--navy);
34+
--color-toolbar: var(--navy);
35+
--color-toolbar-text: var(--white);
3336
}
3437

3538
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
@@ -93,7 +96,7 @@ html {
9396
/* 2 */
9497
-webkit-text-size-adjust: 100%;
9598
/* 2 */
96-
font-family: "Inter", sans-serif;
99+
font-family: sans-serif;
97100
}
98101

99102
/**
@@ -1837,7 +1840,7 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
18371840
}
18381841
body {
18391842
background: var(--color-background);
1840-
font-family: "Segoe UI", sans-serif;
1843+
font-family: "Inter", sans-serif;
18411844
font-size: 16px;
18421845
color: var(--color-text);
18431846
}
@@ -1875,7 +1878,7 @@ blockquote {
18751878
}
18761879

18771880
.tsd-typography {
1878-
line-height: 1.333em;
1881+
line-height: var(--leading);
18791882
}
18801883
.tsd-typography ul {
18811884
list-style: square;
@@ -2098,7 +2101,7 @@ dl.tsd-comment-tags p {
20982101

20992102
.tsd-panel.tsd-comment .lead {
21002103
font-size: 1.1em;
2101-
line-height: 1.333em;
2104+
line-height: var(--leading);
21022105
margin-bottom: 2em;
21032106
}
21042107
.tsd-panel.tsd-comment .lead:last-child {
@@ -2185,7 +2188,7 @@ footer .tsd-legend {
21852188
padding: 0;
21862189
font-size: 16px;
21872190
list-style: none;
2188-
line-height: 1.333em;
2191+
line-height: var(--leading);
21892192
vertical-align: top;
21902193
}
21912194
@media (max-width: 900px) {
@@ -2198,7 +2201,13 @@ footer .tsd-legend {
21982201
list-style: square;
21992202
padding: 0 0 0 20px;
22002203
margin: 0;
2204+
margin-top: 8px;
2205+
}
2206+
2207+
.tsd-hierarchy li {
2208+
margin-bottom: 4px;
22012209
}
2210+
22022211
.tsd-hierarchy .target {
22032212
font-weight: bold;
22042213
}
@@ -2209,6 +2218,11 @@ footer .tsd-legend {
22092218
.tsd-index-panel .tsd-index-section {
22102219
margin-bottom: 30px !important;
22112220
}
2221+
2222+
.tsd-index-panel .tsd-index-section li {
2223+
margin-bottom: 8px;
2224+
}
2225+
22122226
.tsd-index-panel h3 {
22132227
margin: 0 -20px 10px -20px;
22142228
padding: 0 20px 10px 20px;
@@ -2227,7 +2241,7 @@ footer .tsd-legend {
22272241
column-gap: 20px;
22282242
padding: 0;
22292243
list-style: none;
2230-
line-height: 1.333em;
2244+
line-height: var(--leading);
22312245
}
22322246
@media (max-width: 900px) {
22332247
.tsd-index-panel ul.tsd-index-list {
@@ -2345,6 +2359,7 @@ footer .tsd-legend {
23452359
}
23462360
.tsd-navigation li {
23472361
padding: 0;
2362+
padding-top: 8px;
23482363
}
23492364

23502365
.tsd-navigation.primary {
@@ -2450,6 +2465,7 @@ footer .tsd-legend {
24502465
.tsd-panel {
24512466
margin: 20px 0;
24522467
padding: 20px;
2468+
border-radius: 8px;
24532469
background-color: var(--color-panel);
24542470
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
24552471
}

docs-theme/assets/images/search.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs-theme/assets/images/tick.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.
2.24 KB
Loading
3.38 KB
Loading

docs/assets/css/main.css

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
12
:root {
23
--navy: #282c35;
34
--black: #21242b;
@@ -11,6 +12,8 @@
1112
--red: #e36a79;
1213
--purple: #c774e8;
1314

15+
--leading: 1.5;
16+
1417
--color-background: var(--black);
1518
--color-text: var(--white);
1619
--color-text-aside: var(--grey);
@@ -24,12 +27,12 @@
2427
--color-comment-tag-text: var(--grey);
2528
--color-code-background: rgba(0, 0, 0, 0.04);
2629
--color-ts: var(--purple);
27-
--color-ts-interface: var(--green);
30+
--color-ts-interface: var(--yellow);
2831
--color-ts-enum: var(--tan);
2932
--color-ts-class: var(--lightGrey);
3033
--color-ts-private: var(--grey);
31-
--color-toolbar: var(--white);
32-
--color-toolbar-text: var(--navy);
34+
--color-toolbar: var(--navy);
35+
--color-toolbar-text: var(--white);
3336
}
3437

3538
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
@@ -93,7 +96,7 @@ html {
9396
/* 2 */
9497
-webkit-text-size-adjust: 100%;
9598
/* 2 */
96-
font-family: "Inter", sans-serif;
99+
font-family: sans-serif;
97100
}
98101

99102
/**
@@ -1837,7 +1840,7 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
18371840
}
18381841
body {
18391842
background: var(--color-background);
1840-
font-family: "Segoe UI", sans-serif;
1843+
font-family: "Inter", sans-serif;
18411844
font-size: 16px;
18421845
color: var(--color-text);
18431846
}
@@ -1875,7 +1878,7 @@ blockquote {
18751878
}
18761879

18771880
.tsd-typography {
1878-
line-height: 1.333em;
1881+
line-height: var(--leading);
18791882
}
18801883
.tsd-typography ul {
18811884
list-style: square;
@@ -2098,7 +2101,7 @@ dl.tsd-comment-tags p {
20982101

20992102
.tsd-panel.tsd-comment .lead {
21002103
font-size: 1.1em;
2101-
line-height: 1.333em;
2104+
line-height: var(--leading);
21022105
margin-bottom: 2em;
21032106
}
21042107
.tsd-panel.tsd-comment .lead:last-child {
@@ -2185,7 +2188,7 @@ footer .tsd-legend {
21852188
padding: 0;
21862189
font-size: 16px;
21872190
list-style: none;
2188-
line-height: 1.333em;
2191+
line-height: var(--leading);
21892192
vertical-align: top;
21902193
}
21912194
@media (max-width: 900px) {
@@ -2198,7 +2201,13 @@ footer .tsd-legend {
21982201
list-style: square;
21992202
padding: 0 0 0 20px;
22002203
margin: 0;
2204+
margin-top: 8px;
2205+
}
2206+
2207+
.tsd-hierarchy li {
2208+
margin-bottom: 4px;
22012209
}
2210+
22022211
.tsd-hierarchy .target {
22032212
font-weight: bold;
22042213
}
@@ -2209,6 +2218,11 @@ footer .tsd-legend {
22092218
.tsd-index-panel .tsd-index-section {
22102219
margin-bottom: 30px !important;
22112220
}
2221+
2222+
.tsd-index-panel .tsd-index-section li {
2223+
margin-bottom: 8px;
2224+
}
2225+
22122226
.tsd-index-panel h3 {
22132227
margin: 0 -20px 10px -20px;
22142228
padding: 0 20px 10px 20px;
@@ -2227,7 +2241,7 @@ footer .tsd-legend {
22272241
column-gap: 20px;
22282242
padding: 0;
22292243
list-style: none;
2230-
line-height: 1.333em;
2244+
line-height: var(--leading);
22312245
}
22322246
@media (max-width: 900px) {
22332247
.tsd-index-panel ul.tsd-index-list {
@@ -2345,6 +2359,7 @@ footer .tsd-legend {
23452359
}
23462360
.tsd-navigation li {
23472361
padding: 0;
2362+
padding-top: 8px;
23482363
}
23492364

23502365
.tsd-navigation.primary {
@@ -2450,6 +2465,7 @@ footer .tsd-legend {
24502465
.tsd-panel {
24512466
margin: 20px 0;
24522467
padding: 20px;
2468+
border-radius: 8px;
24532469
background-color: var(--color-panel);
24542470
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
24552471
}

docs/assets/images/widgets.png

1.78 KB
Loading
2.55 KB
Loading

docs/classes/camera.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> active</h3>
123123
<div class="tsd-signature tsd-kind-icon">active<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div>
124124
<aside class="tsd-sources">
125125
<ul>
126-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L904">index.ts:904</a></li>
126+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L904">index.ts:904</a></li>
127127
</ul>
128128
</aside>
129129
<div class="tsd-comment tsd-typography">
@@ -138,7 +138,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> aperture</h3>
138138
<div class="tsd-signature tsd-kind-icon">aperture<span class="tsd-signature-symbol">:</span> <a href="property.html" class="tsd-signature-type" data-tsd-kind="Class">Property</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
139139
<aside class="tsd-sources">
140140
<ul>
141-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L896">index.ts:896</a></li>
141+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L896">index.ts:896</a></li>
142142
</ul>
143143
</aside>
144144
<div class="tsd-comment tsd-typography">
@@ -153,7 +153,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> blur<wbr>Level</h3>
153153
<div class="tsd-signature tsd-kind-icon">blur<wbr>Level<span class="tsd-signature-symbol">:</span> <a href="property.html" class="tsd-signature-type" data-tsd-kind="Class">Property</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
154154
<aside class="tsd-sources">
155155
<ul>
156-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L900">index.ts:900</a></li>
156+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L900">index.ts:900</a></li>
157157
</ul>
158158
</aside>
159159
<div class="tsd-comment tsd-typography">
@@ -168,7 +168,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> depth<wbr>OfField</h3
168168
<div class="tsd-signature tsd-kind-icon">depth<wbr>OfField<span class="tsd-signature-symbol">:</span> <a href="property.html" class="tsd-signature-type" data-tsd-kind="Class">Property</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
169169
<aside class="tsd-sources">
170170
<ul>
171-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L885">index.ts:885</a></li>
171+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L885">index.ts:885</a></li>
172172
</ul>
173173
</aside>
174174
<div class="tsd-comment tsd-typography">
@@ -183,7 +183,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> focus<wbr>Distance</h
183183
<div class="tsd-signature tsd-kind-icon">focus<wbr>Distance<span class="tsd-signature-symbol">:</span> <a href="property.html" class="tsd-signature-type" data-tsd-kind="Class">Property</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
184184
<aside class="tsd-sources">
185185
<ul>
186-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L889">index.ts:889</a></li>
186+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L889">index.ts:889</a></li>
187187
</ul>
188188
</aside>
189189
<div class="tsd-comment tsd-typography">
@@ -198,7 +198,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> point<wbr>OfInterest<
198198
<div class="tsd-signature tsd-kind-icon">point<wbr>OfInterest<span class="tsd-signature-symbol">:</span> <a href="property.html" class="tsd-signature-type" data-tsd-kind="Class">Property</a><span class="tsd-signature-symbol">&lt;</span><a href="../index.html#vector3d" class="tsd-signature-type" data-tsd-kind="Type alias">Vector3D</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
199199
<aside class="tsd-sources">
200200
<ul>
201-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L874">index.ts:874</a></li>
201+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L874">index.ts:874</a></li>
202202
</ul>
203203
</aside>
204204
<div class="tsd-comment tsd-typography">
@@ -213,7 +213,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> zoom</h3>
213213
<div class="tsd-signature tsd-kind-icon">zoom<span class="tsd-signature-symbol">:</span> <a href="property.html" class="tsd-signature-type" data-tsd-kind="Class">Property</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
214214
<aside class="tsd-sources">
215215
<ul>
216-
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/7161ace/src/index.ts#L881">index.ts:881</a></li>
216+
<li>Defined in <a href="https://github.com/timhaywood/expression-globals-typescript/blob/ff590d0/src/index.ts#L881">index.ts:881</a></li>
217217
</ul>
218218
</aside>
219219
<div class="tsd-comment tsd-typography">

0 commit comments

Comments
 (0)