Skip to content

Commit 603ffe0

Browse files
committed
docs
1 parent 8dd04c4 commit 603ffe0

File tree

2 files changed

+15
-36
lines changed

2 files changed

+15
-36
lines changed

docs/astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ import starlightImageZoom from "starlight-image-zoom";
66

77
const jsoncStringLight = fs.readFileSync(
88
new URL(
9-
`./src/themes/expressive-code/Snazzy-Light-color-theme.json`,
9+
"./src/themes/expressive-code/Snazzy-Light-color-theme.json",
1010
import.meta.url
1111
),
1212
"utf-8"
1313
);
1414

1515
const jsoncStringDark = fs.readFileSync(
1616
new URL(
17-
`./src/themes/expressive-code/aura-soft-dark-soft-text-color-theme.json`,
17+
"./src/themes/expressive-code/aura-soft-dark-soft-text-color-theme.json",
1818
import.meta.url
1919
),
2020
"utf-8"

docs/src/styles/custom.css

Lines changed: 13 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
--url-colour: #660891 !important;
5656
--url-colour-hover: #14574c !important;
5757
--code-inline-background: #54c59f;
58-
--code-inline-color: #000000;
58+
--code-inline-color: #000;
5959
--code-inline-border: #002b24;
6060
--tab-background-if: #ab94b4;
6161
--tab-background-oof: #54385f;
@@ -192,7 +192,7 @@ a[tabindex="-1"] {
192192
color: var(--tab-color-oof) !important;
193193
}
194194

195-
/* react toggle start*/
195+
/* react toggle start */
196196

197197
.toggle-global {
198198
margin: 20px 16px 16px 0;
@@ -210,6 +210,11 @@ a[tabindex="-1"] {
210210
padding-bottom: 16px;
211211
}
212212

213+
.react-toggle-track {
214+
min-width: 16px;
215+
background-color: #6d6d6d !important;
216+
}
217+
213218
.react-toggle-thumb {
214219
-webkit-box-shadow: none !important;
215220
-moz-box-shadow: none !important;
@@ -230,10 +235,6 @@ a[tabindex="-1"] {
230235
background-color: var(--react-toggle-checked) !important;
231236
}
232237

233-
.react-toggle-track {
234-
min-width: 16px;
235-
background-color: #6d6d6d !important;
236-
}
237238

238239
/* react toggle end */
239240

@@ -282,23 +283,10 @@ a[tabindex="-1"] {
282283
color: var(--sl-color-gray-2) !important;
283284
padding: 1rem;
284285
border-inline-start: 0.25rem solid;
285-
color: var(--sl-color-white);
286286
border-left: 1px solid;
287287
border-bottom: 1px solid;
288288
}
289289

290-
.starlight-aside--caution {
291-
background-color: rgba(22, 218, 218, 0);
292-
}
293-
294-
.starlight-aside--tip {
295-
background-color: rgba(22, 218, 218, 0);
296-
}
297-
298-
.starlight-aside--note {
299-
background-color: rgba(22, 218, 218, 0);
300-
}
301-
302290
.expressive-code .ec-line {
303291
tab-size: 4;
304292
}
@@ -353,12 +341,6 @@ a[tabindex="-1"] {
353341
background-color: rgba(0, 148, 0, 0.05);
354342
}
355343

356-
.starlight-aside__title {
357-
margin-top: -8px !important;
358-
margin-left: 0 !important;
359-
margin-bottom: -5px !important;
360-
}
361-
362344
.starlight-aside--caution {
363345
border-color: rgba(230, 167, 0);
364346
background-color: rgba(230, 167, 0, 0.05);
@@ -369,6 +351,12 @@ a[tabindex="-1"] {
369351
background-color: rgba(225, 50, 56, 0.05);
370352
}
371353

354+
.starlight-aside__title {
355+
margin-top: -8px !important;
356+
margin-left: 0 !important;
357+
margin-bottom: -5px !important;
358+
}
359+
372360
.starlight-aside__content {
373361
margin-bottom: -10px !important;
374362
padding-bottom: 0 !important;
@@ -441,15 +429,6 @@ a[tabindex="-1"] {
441429
width: 100% !important;
442430
}
443431

444-
.my-tooltip-url {
445-
color: var(--url-colour) !important;
446-
}
447-
448-
.my-tooltip-url:hover {
449-
color: var(--url-colour-hover) !important;
450-
cursor: pointer;
451-
}
452-
453432
/* .tooltip-link {} */
454433

455434
.tooltip-line {

0 commit comments

Comments
 (0)