Configuration
The Starlight Rosé Pine theme can be configured inside the astro.config.mjs configuration file of your project:
import starlight from "@astrojs/starlight";import { defineConfig } from "astro/config";import starlightRosePine from "starlight-theme-rose-pine";
export default defineConfig({ integrations: [ starlight({ plugins: [ starlightRosePine({ // Configuration options go here. }), ], title: "My Docs", }), ],});Configuration options
Section titled “Configuration options”The Starlight Rosé Pine theme accepts the following configuration options:
Type: { flavor?: string; accent?: string }
Default: { flavor: "main", accent: "pine" }
Configure the theme for the dark mode.
flavor
Section titled “flavor”Type: string
Default: main
Configure the flavor for the dark theme. Available values are:
"main""moon"
accent
Section titled “accent”Type: string
Default: pine
Configure the accent for the dark theme. Available values are:
"love""gold""rose""pine""foam""iris"
Type: { flavor?: string; accent?: string }
Default: { flavor: "dawn", accent: "pine" }
Configure the theme for the light mode.
flavor
Section titled “flavor”Type: string
Default: dawn
Configure the flavor for the light theme. Available values are:
"dawn"
accent
Section titled “accent”Type: string
Default: pine
Configure the accent for the light theme. Available values are:
"love""gold""rose""pine""foam""iris"