Getting Started
Starlight theme inspired by Microsoft Fluent2 design system
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-fluentis a Starlight plugin. Install it by running the following command in your terminal:Terminal window npm install starlight-theme-fluentTerminal window pnpm add starlight-theme-fluentTerminal window yarn add starlight-theme-fluent sassThe theme compiles its styles with
sass, a pure JavaScript compiler that works everywhere, including browser-based environments such as StackBlitz. npm and pnpm install it automatically as a peer dependency, while Yarn requires adding it explicitly. -
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 starlightFluent from 'starlight-theme-fluent'export default defineConfig({integrations: [starlight({plugins: [starlightFluent()],title: 'My Docs',}),],}) -
Start the development server to preview the theme in action.