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

@smoose/pi-themes

v0.1.0

Published

Theme pack for pi with file-based theme switching.

Readme

pi-themes

A theme pack for pi, with file-based switching for paired light/dark theme families.

Installation

pi install npm:@smoose/pi-themes

This package currently includes Everforest, Tundra, Rosé Pine, OneDark, Gruvbox, and Bearded Arc. Paired theme families can follow the <family>-light / <family>-dark naming convention; standalone themes can be selected by concrete theme name in the control file.

Included themes

Everforest

  • everforest-dark
  • everforest-light

Tundra

Extracted from sam4llis/nvim-tundra's arctic palette and stylesheet:

  • tundra-dark

Rosé Pine

Extracted from the official Rosé Pine palette:

  • rosepine-dark
  • rosepine-light

OneDark

Extracted from navarasu/onedark.nvim's palette styles:

  • onedark-dark
  • onedark-light

Gruvbox

Extracted from morhetz/gruvbox's medium-contrast palette:

  • gruvbox-dark
  • gruvbox-light

Bearded Arc

Extracted from BeardedBear/bearded-theme's Arc variation:

  • bearded-arc-dark

How switching works

The running pi extension watches a small control file. When the file changes, the extension reads it and calls ctx.ui.setTheme(...) inside pi.

The extension also sets a footer/status key named pi-themes, which can be consumed or styled together with other footer plugins.

Default control file:

~/.pi/agent/pi-theme.json

Override it with:

PI_THEME_CONTROL_FILE=/path/to/pi-theme.json

Control file format

Select a paired theme family and appearance:

{
  "family": "everforest",
  "appearance": "dark"
}

This switches to:

everforest-dark

Set a concrete theme directly:

{
  "theme": "tundra-dark"
}

External tools can write this file however they like, for example:

mkdir -p ~/.pi/agent
printf '{"family":"everforest","appearance":"dark"}\n' > ~/.pi/agent/pi-theme.json
printf '{"theme":"tundra-dark"}\n' > ~/.pi/agent/pi-theme.json

Pi command

Inside pi, theme-family control is also available through:

/theme everforest        # defaults to everforest-dark
/theme everforest light
/theme rosepine light
/theme tundra            # defaults to tundra-dark

The command format is:

/theme <family> [dark|light]

If dark or light is omitted, dark is used. The command only requires the target concrete theme to exist, so dark-only families like tundra-dark are supported.

Environment

PI_THEME=everforest
PI_THEME_CONTROL_FILE=~/.pi/agent/pi-theme.json

PI_THEME sets the default family used when the /theme command omits a family-specific context. File-based switching itself is driven by the control file.