diff options
author | delucis | 2024-06-05 07:38:32 +0000 |
---|---|---|
committer | fredkbot | 2024-06-05 07:38:32 +0000 |
commit | 15747325112c9fe43b8dfa4e986b95cf8e66af49 (patch) | |
tree | 1e42384ed540d8b4c3ac4ee9e34b8638b927f9d5 | |
parent | 377945f3cdbc720730dd2bf8c992689fc69d2274 (diff) | |
download | IT.starlight-15747325112c9fe43b8dfa4e986b95cf8e66af49.tar.gz IT.starlight-15747325112c9fe43b8dfa4e986b95cf8e66af49.tar.bz2 IT.starlight-15747325112c9fe43b8dfa4e986b95cf8e66af49.zip |
[ci] format
-rw-r--r-- | packages/starlight/CHANGELOG.md | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 958d6591..fb0963e7 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -134,7 +134,7 @@ ```css :root { - --sl-line-height: 1.8; + --sl-line-height: 1.8; } ``` @@ -374,7 +374,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -394,14 +394,14 @@ ```css /* Restore vertical spacing to match Starlight v0.15 and below. */ .sl-markdown-content - :not(a, strong, em, del, span, input, code) - + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { - margin-top: 1.5rem; + :not(a, strong, em, del, span, input, code) + + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { + margin-top: 1.5rem; } .sl-markdown-content - :not(h1, h2, h3, h4, h5, h6) - + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { - margin-top: 2.5rem; + :not(h1, h2, h3, h4, h5, h6) + + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { + margin-top: 2.5rem; } ``` @@ -413,9 +413,9 @@ starlight-toc a[aria-current='true'], starlight-toc a[aria-current='true']:hover, starlight-toc a[aria-current='true']:focus { - font-weight: 600; - color: var(--sl-color-text-invert); - background-color: var(--sl-color-text-accent); + font-weight: 600; + color: var(--sl-color-text-invert); + background-color: var(--sl-color-text-accent); } ``` @@ -488,14 +488,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, + // Disable link prefetching: + prefetch: false, - integrations: [ - starlight({ - // ... - }), - ], + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -552,12 +552,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -905,16 +905,16 @@ ```css :root { - --sl-hue-accent: 234; - --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); - --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); - --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); + --sl-hue-accent: 234; + --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); + --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); } :root[data-theme='light'] { - --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); - --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); - --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); + --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); + --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); } ``` @@ -1293,8 +1293,8 @@ ```json { - "search.label": "Suchen", - "search.shortcutLabel": "(Drücke / zum Suchen)" + "search.label": "Suchen", + "search.shortcutLabel": "(Drücke / zum Suchen)" } ``` |