Skip to content

Repository files navigation

Starlight Theme Galaxy

npm version License: MIT

Documentation · Getting Started · Releases

A customized Astro Starlight theme for publishing docs and educational content.

Features

  • Refined typography with Inter and JetBrains Mono fonts,
  • Enhanced Expressive Code blocks with custom themes and styling,
  • Reading progress scroll bar in the header,
  • Animated theme toggle (sun/moon) with smooth transitions,
  • Custom-styled Starlight components (asides, cards, badges, tabs, steps, and more),
  • Banner support with splash page variant,
  • CSS cascade layers for predictable and easy style overrides,
  • Light and dark theme support,
  • Responsive design across all devices.

Installation

npm install starlight-theme-galaxy

Usage

Add the plugin to your astro.config.mjs file:

import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import starlightThemeGalaxy from 'starlight-theme-galaxy'

export default defineConfig({
  integrations: [
    starlight({
      plugins: [starlightThemeGalaxy()],
      title: 'My Docs',
    }),
  ],
})

For more details, check out the getting started guide and the customization docs.

License

Licensed under the MIT License.

About

Galaxy: A customized Astro Starlight theme tailored for publishing educational content, tutorials, and course materials.

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages