diff options
author | Houston (Bot) | 2024-05-28 06:14:59 -0700 |
---|---|---|
committer | GitHub | 2024-05-28 15:14:59 +0200 |
commit | aa50ad815c3ed737bebf5e7f14b4da9d0d46295e (patch) | |
tree | 163b8ff7764e9ebf9aced1a4020163d5c2264c33 | |
parent | 2f3240c91c09dfc411d93a71eeb75ad6d704e14b (diff) | |
download | IT.starlight-aa50ad815c3ed737bebf5e7f14b4da9d0d46295e.tar.gz IT.starlight-aa50ad815c3ed737bebf5e7f14b4da9d0d46295e.tar.bz2 IT.starlight-aa50ad815c3ed737bebf5e7f14b4da9d0d46295e.zip |
[ci] release (#1929)@astrojs/starlight@0.23.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r-- | .changeset/curvy-pots-ring.md | 5 | ||||
-rw-r--r-- | .changeset/weak-falcons-drop.md | 5 | ||||
-rw-r--r-- | examples/basics/package.json | 2 | ||||
-rw-r--r-- | examples/tailwind/package.json | 2 | ||||
-rw-r--r-- | packages/starlight/CHANGELOG.md | 74 | ||||
-rw-r--r-- | packages/starlight/package.json | 2 | ||||
-rw-r--r-- | pnpm-lock.yaml | 4 |
7 files changed, 46 insertions, 48 deletions
diff --git a/.changeset/curvy-pots-ring.md b/.changeset/curvy-pots-ring.md deleted file mode 100644 index 488b0cfd..00000000 --- a/.changeset/curvy-pots-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes support for Astro’s `build: { format: 'preserve' }` configuration option diff --git a/.changeset/weak-falcons-drop.md b/.changeset/weak-falcons-drop.md deleted file mode 100644 index 08d7e092..00000000 --- a/.changeset/weak-falcons-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Adds icon support for `.otf` files in `<FileTree>` diff --git a/examples/basics/package.json b/examples/basics/package.json index f72a42c0..6f7dd91d 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.23.1", + "@astrojs/starlight": "^0.23.2", "astro": "^4.8.6", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 33253f26..f1a49896 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.23.1", + "@astrojs/starlight": "^0.23.2", "@astrojs/starlight-tailwind": "^2.0.3", "@astrojs/tailwind": "^5.1.0", "astro": "^4.8.6", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 38cd7c45..bef501fe 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/starlight +## 0.23.2 + +### Patch Changes + +- [#1913](https://github.com/withastro/starlight/pull/1913) [`7ebe8f75`](https://github.com/withastro/starlight/commit/7ebe8f7599d473cdd22c80bb0fe115fe6120cab7) Thanks [@delucis](https://github.com/delucis)! - Fixes support for Astro’s `build: { format: 'preserve' }` configuration option + +- [#1941](https://github.com/withastro/starlight/pull/1941) [`2f3240c9`](https://github.com/withastro/starlight/commit/2f3240c91c09dfc411d93a71eeb75ad6d704e14b) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Adds icon support for `.otf` files in `<FileTree>` + ## 0.23.1 ### Patch Changes @@ -112,7 +120,7 @@ ```css :root { - --sl-line-height: 1.8; + --sl-line-height: 1.8; } ``` @@ -352,7 +360,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -372,14 +380,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; } ``` @@ -391,9 +399,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); } ``` @@ -466,14 +474,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, + // Disable link prefetching: + prefetch: false, - integrations: [ - starlight({ - // ... - }), - ], + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -530,12 +538,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -883,16 +891,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%); } ``` @@ -1271,8 +1279,8 @@ ```json { - "search.label": "Suchen", - "search.shortcutLabel": "(Drücke / zum Suchen)" + "search.label": "Suchen", + "search.shortcutLabel": "(Drücke / zum Suchen)" } ``` diff --git a/packages/starlight/package.json b/packages/starlight/package.json index ab6a8e76..e7eac49b 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.23.1", + "version": "0.23.2", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0eb34b3..d28796dc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,7 +73,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.23.1 + specifier: ^0.23.2 version: link:../../packages/starlight astro: specifier: ^4.8.6 @@ -85,7 +85,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.23.1 + specifier: ^0.23.2 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.3 |