diff --git a/.changeset/friendly-sloths-cough.md b/.changeset/friendly-sloths-cough.md new file mode 100644 index 0000000..93991f1 --- /dev/null +++ b/.changeset/friendly-sloths-cough.md @@ -0,0 +1,7 @@ +--- +"@lorenzo_lewis/starlight-multi-sidebar": patch +--- + +Refactor horizontal tab styles. + +If you are familiar with Astro docs prior to the Starlight migration this may look familiar 😉 diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 6d7c4bd..44ceb3d 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -8,7 +8,7 @@ export default defineConfig({ site: "https://starlight-multi-sidebar.pages.dev", integrations: [ starlight({ - title: "🗃️ Starlight Multi-Sidebar", + title: "🗄️ Starlight Multi-Sidebar", social: { github: "https://github.com/lorenzolewis/starlight-multi-sidebar", }, @@ -24,7 +24,7 @@ export default defineConfig({ }, ], plugins: [ - starlightMultiSidebar({ switcherStyle: "dropdown" }), + starlightMultiSidebar({ switcherStyle: "horizontalList" }), starlightLinksValidatorPlugin(), ], }), diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index 8d66dfa..d8ea3ff 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -1,8 +1,8 @@ --- -title: 🗃️ Starlight Multi-Sidebar -description: Use multiple sidebars with your Starlight site. +title: 🗄️ Starlight Multi-Sidebar +description: Enable multiple sidebars with your Starlight site. hero: - tagline: Use multiple sidebars with your Starlight site. + tagline: Enable multiple sidebars with your Starlight site. image: file: ../../assets/houston.webp actions: diff --git a/packages/starlight-multi-sidebar/CHANGELOG.md b/packages/starlight-multi-sidebar/CHANGELOG.md index 755717a..5f3bfd4 100644 --- a/packages/starlight-multi-sidebar/CHANGELOG.md +++ b/packages/starlight-multi-sidebar/CHANGELOG.md @@ -30,7 +30,7 @@ export default defineConfig({ integrations: [ starlight({ - title: "🗃️ Starlight Multi-Sidebar", + title: "🗄️ Starlight Multi-Sidebar", + plugins: [starlightMultiSidebar()], - plugins: [starlightMultiSidebar], }), @@ -44,7 +44,7 @@ export default defineConfig({ integrations: [ starlight({ - title: "🗃️ Starlight Multi-Sidebar", + title: "🗄️ Starlight Multi-Sidebar", plugins: [ starlightMultiSidebar({ switcherStyle: "dropdown", diff --git a/packages/starlight-multi-sidebar/components/HorizontalList.astro b/packages/starlight-multi-sidebar/components/HorizontalList.astro index a3b4f38..24870f2 100644 --- a/packages/starlight-multi-sidebar/components/HorizontalList.astro +++ b/packages/starlight-multi-sidebar/components/HorizontalList.astro @@ -70,17 +70,6 @@ const sidebars = Astro.props.multiSidebarData.map((sidebar) => { )) } - diff --git a/packages/starlight-multi-sidebar/package.json b/packages/starlight-multi-sidebar/package.json index 1abd5a7..09efd88 100644 --- a/packages/starlight-multi-sidebar/package.json +++ b/packages/starlight-multi-sidebar/package.json @@ -3,7 +3,7 @@ "author": "Lorenzo Lewis", "version": "0.1.2", "license": "MIT", - "description": "Use multiple sidebars with your Starlight site.", + "description": "Enable multiple sidebars with your Starlight site.", "type": "module", "exports": { ".": "./index.ts",