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

shades-of-purple-bat-theme

v1.0.1

Published

🦇 Shades of Purple — A professional theme with hand-picked & bold shades of purple for bat (cat clone with wings)

Readme

Shades of Purple Theme for Bat

A professional theme with hand-picked & bold shades of purple for bat — A cat clone with wings.

Version npm version License Downloads

What is Bat?

Bat is a cat clone with syntax highlighting and Git integration. It's a modern replacement for the traditional cat command with beautiful syntax highlighting.

What is Shades of Purple?

Shades of Purple is a professional theme suite carefully designed with hand-picked, bold shades of purple for your development environment. It's been used by over 5 million developers across various editors and tools.

Installation

NPM Installation (Recommended)

The easiest way to install the theme is via npm:

npm install -g shades-of-purple-bat-theme

The theme will be automatically installed and the bat cache will be rebuilt. That's it! 🎉

Alternative package managers:

# Using yarn
yarn global add shades-of-purple-bat-theme

# Using pnpm
pnpm add -g shades-of-purple-bat-theme

Automatic Installation (cURL)

# Create the themes directory if it doesn't exist
mkdir -p "$(bat --config-dir)/themes"

# Download the theme
curl -L https://raw.githubusercontent.com/ahmadawais/shades-of-purple-bat-theme/main/themes/Shades-of-Purple.tmTheme -o "$(bat --config-dir)/themes/Shades-of-Purple.tmTheme"

# Rebuild bat's cache
bat cache --build

Manual Installation

  1. Create the themes directory:
mkdir -p "$(bat --config-dir)/themes"
cd "$(bat --config-dir)/themes"
  1. Download the theme file:

Download Shades-of-Purple.tmTheme from this repository and place it in your bat themes directory.

  1. Rebuild the cache:
bat cache --build
  1. Verify installation:
bat --list-themes | grep "Shades-of-Purple"

You should see Shades-of-Purple in the list of available themes.

Usage

One-Time Use

Use the theme for a single command:

bat --theme="Shades-of-Purple" myfile.js

Permanent Configuration

Set Shades of Purple as your default theme by adding this to your bat configuration file:

Location: ~/.config/bat/config (Linux/macOS) or %APPDATA%\bat\config (Windows)

# Set the theme to Shades of Purple
--theme="Shades-of-Purple"

Environment Variable

Alternatively, set the BAT_THEME environment variable:

# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export BAT_THEME="Shades-of-Purple"

Color Palette

The theme features carefully selected colors:

  • Background: #2D2B55 - Deep purple background
  • Foreground: #FFFFFF - Crisp white text
  • Comments: #B362FF - Bright purple
  • Strings: #A5FF90 - Fresh green
  • Keywords: #FF9D00 - Warm orange
  • Functions: #FF9D00 - Warm orange
  • Constants: #FF628C - Bold pink
  • Variables: #E1EFFF - Light blue
  • Support: #80FFBB - Mint green
  • Cursor: #FAD000 - Bright yellow

Features

  • Hand-picked, bold shades of purple
  • Excellent color contrast for readability
  • Optimized for long coding sessions
  • Consistent with other Shades of Purple themes
  • Supports all major programming languages
  • Beautiful markdown rendering

Theme Family

Shades of Purple is available for:

Troubleshooting

Theme not showing up?

  1. Make sure you've run bat cache --build after adding the theme
  2. Check the theme is in the correct directory: $(bat --config-dir)/themes/
  3. Verify the filename is correct: Shades-of-Purple.tmTheme

Colors not displaying correctly?

Make sure your terminal supports true color (24-bit color). Most modern terminals do, but you may need to set:

export COLORTERM=truecolor

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Changelog

Version 1.0.0 (2025-01-14)

  • Initial release
  • Complete syntax highlighting support
  • Hand-picked purple color scheme
  • Support for all major languages

License

MIT © Ahmad Awais

Author

Ahmad AwaisFollow @MrAhmadAwais on Twitter

Credits