Getting Started
Starlight theme inspired by Shadcn docs
Prerequisites
Section titled “Prerequisites”You will need to have a Starlight website set up. If you don’t have one yet, you can follow the “Getting Started” guide in the Starlight docs to create one.
Installation
Section titled “Installation”-
starlight-theme-blackis a Starlight plugin. Install it by running the following command in your terminal:Terminal window npm install starlight-theme-blackTerminal window pnpm add starlight-theme-blackTerminal window yarn add starlight-theme-black -
Configure the plugin in your Starlight configuration in the
astro.config.mjsfile.astro.config.mjs import starlight from '@astrojs/starlight'import { defineConfig } from 'astro/config'import starlightThemeBlack from 'starlight-theme-black'export default defineConfig({integrations: [starlight({plugins: [starlightThemeBlack({navLinks: [{ // optionallabel: 'Docs',link: '/getting-started',}],})],title: 'My Docs',}),],}) -
Start the development server to preview the theme in action.