Skip to content

Commit 599e8f4

Browse files
committed
[formatting] Prettier adjustments
1 parent 78d1318 commit 599e8f4

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/globals.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ https://tailwindcss.com/docs/adding-custom-styles#using-css-and-layer
1313
--sl-color-bg-nav: var(--sl-color-bg);
1414
}
1515

16-
:root[data-theme='light'], [data-theme='light'] ::backdrop {
16+
:root[data-theme="light"],
17+
[data-theme="light"] ::backdrop {
1718
--sl-color-bg-nav: var(--sl-color-bg);
1819
}
1920

@@ -25,7 +26,8 @@ https://tailwindcss.com/docs/adding-custom-styles#using-css-and-layer
2526
border-inline-start: 1px solid var(--sl-color-hairline);
2627
}
2728

28-
.sidebar-content ul li a, .sidebar-content ul li summary {
29+
.sidebar-content ul li a,
30+
.sidebar-content ul li summary {
2931
padding: 0.5em calc(var(--sl-sidebar-item-padding-inline) + 0.25em);
3032
}
3133

@@ -80,7 +82,7 @@ header site-search button {
8082
}
8183

8284
.sl-link-card {
83-
border-radius: 2px!important;
85+
border-radius: 2px !important;
8486
}
8587

8688
.group-label {
@@ -94,7 +96,7 @@ header site-search button {
9496
}
9597

9698
.sl-markdown-content a:not(:where(.not-content *)) {
97-
font-weight:600;
99+
font-weight: 600;
98100
text-underline-offset: 3px;
99101
text-decoration-line: underline;
100102
text-decoration-thickness: 1px;
@@ -107,5 +109,5 @@ header site-search button {
107109
}
108110

109111
.sl-link-card a {
110-
text-decoration:none;
111-
}
112+
text-decoration: none;
113+
}

src/starlight-overrides/Head.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
import type { Props } from '@astrojs/starlight/props';
3-
import Default from '@astrojs/starlight/components/Head.astro';
4-
import Analytics from "@vercel/analytics/astro"
2+
import type { Props } from "@astrojs/starlight/props";
3+
import Default from "@astrojs/starlight/components/Head.astro";
4+
import Analytics from "@vercel/analytics/astro";
55
---
66

77
<Default {...Astro.props}><slot /></Default>

0 commit comments

Comments
 (0)