npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pelagornis/page

v1.2.2

Published

Starlight theme for Pelagornis Docs

Readme

Starlight Theme Page

Official npm version stars

Installation

npm install @pelagornis/page

Basic Configuration

// astro.config.mjs
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import pagePlugin from "@pelagornis/page";

export default defineConfig({
  integrations: [
    starlight({
      plugins: [pagePlugin()],
      title: "My Documentation",
      // Add your Starlight configuration here
    }),
  ],
});

Add Styles

/* src/styles/global.css */
@import "@pelagornis/page/styles";

🎨 Customization

Color System

The theme uses a modern HSL-based color system for easy customization:

:root {
  --page-primary: hsl(222.2, 84%, 4.9%);
  --page-accent: hsl(210, 40%, 92%);
  --page-background: hsl(0, 0%, 100%);
  --page-foreground: hsl(222.2, 84%, 4.9%);
  /* More color variables available */
}

Advanced Configuration

pagePlugin({
  navigation: [
    { href: "/guides/", label: "Guides" },
    { href: "/api/", label: "API", badge: "New" },
  ],
  // Customize theme colors, animations, and more
});

🚀 Complete Feature Set

✅ Fully Overridden Components

| Component | Features | | -------------------- | ------------------------------------------------------ | | Header | Sticky navigation, glass effects, gradient backgrounds | | Hero | Animated backgrounds, floating elements, gradient text | | Sidebar | Modern styling, hover effects, animated expansion | | Footer | Transparent design, link hover effects, social icons | | ThemeSelect | Rotation animations, glass effects, smooth transitions | | Search | Blur backgrounds, modern modal, enhanced input fields | | Navigation | Hover effects, active states, badge system | | SocialIcons | Platform colors, stagger animations, 3D effects | | MobileMenu | Hamburger animations, touch-friendly interface | | TwoColumnContent | Enhanced TOC, sticky sidebar, scroll tracking | | MarkdownContent | Typography improvements, code styling, table design |

🎨 Design System

  • Colors: HSL-based modern palette with light/dark mode support
  • Typography: Optimized font sizes, line-heights, and spacing
  • Animations: 60fps smooth transitions and micro-interactions
  • Gradients: Consistent brand gradient system
  • Shadows: Multi-layered shadow system for depth
  • Spacing: Consistent spacing scale using CSS custom properties

📱 User Experience

  • Accessibility: WCAG 2.1 AA compliance, screen reader support
  • Performance: Optimized CSS, GPU acceleration, lazy loading
  • Responsive: Mobile-first design with fluid typography
  • Dark Mode: Perfect dark mode with system preference detection
  • Internationalization: Multi-language support with RTL compatibility

🌟 Recent Updates

✨ Latest Improvements

  • Enhanced Sidebar: Improved navigation with better visual hierarchy
  • Language Select: Refined language switcher with better UX
  • Mobile Experience: Optimized mobile menu and touch interactions
  • Performance: Reduced bundle size and improved loading times
  • Accessibility: Enhanced keyboard navigation and screen reader support

🔧 Technical Enhancements

  • TypeScript: Full TypeScript support with improved type safety
  • Build Optimization: Faster build times and smaller output
  • CSS Architecture: Better organized styles with improved maintainability
  • Component Structure: Cleaner component architecture and better reusability

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

starlight-theme-page is under MIT license. See the LICENSE file for more info.