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)
Maintainers
Readme
Shades of Purple Theme for Bat
A professional theme with hand-picked & bold shades of purple for bat — A cat clone with wings.
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-themeThe 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-themeAutomatic 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 --buildManual Installation
- Create the themes directory:
mkdir -p "$(bat --config-dir)/themes"
cd "$(bat --config-dir)/themes"- Download the theme file:
Download Shades-of-Purple.tmTheme from this repository and place it in your bat themes directory.
- Rebuild the cache:
bat cache --build- 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.jsPermanent 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?
- Make sure you've run
bat cache --buildafter adding the theme - Check the theme is in the correct directory:
$(bat --config-dir)/themes/ - 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=truecolorContributing
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 Awais — Follow @MrAhmadAwais on Twitter
Credits
- Built for bat by David Peter
- Part of the Shades of Purple theme family
