Skip to content

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

License

Notifications You must be signed in to change notification settings

ahmadawais/shades-of-purple-bat-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


🦇 Enjoy coding with Shades of Purple! 🦄

About

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

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published