Customization Methods
You can customize Shades of Purple in three main ways:- Workbench Colors - Modify UI elements (sidebar, tabs, status bar, etc.)
- Token Colors - Adjust syntax highlighting colors
- Semantic Highlighting - Control intelligent code coloring
Workbench Color Customization
Workbench colors control VSCode’s UI elements. Add these to yoursettings.json:
The
[Shades of Purple] scope ensures your customizations only apply when using this theme.Common Workbench Customizations
Editor Background Colors
Editor Background Colors
Customize the main editor and related backgrounds:These values are the theme defaults - modify them to suit your preference.
Sidebar & Activity Bar
Sidebar & Activity Bar
Terminal Colors
Terminal Colors
Adjust integrated terminal colors:
Status Bar
Status Bar
Modify status bar colors:
Tabs & Editor Groups
Tabs & Editor Groups
Customize tab appearance:
Token Color Customization
Token colors control syntax highlighting. Useeditor.tokenColorCustomizations to modify specific code elements:
Advanced Token Customization
For fine-grained control, use TextMate rules:Semantic Highlighting
Semantic highlighting provides intelligent, context-aware syntax coloring. By default, Shades of Purple disables this to preserve the carefully crafted color scheme:Customizing Semantic Tokens
If you enable semantic highlighting, you can customize it:Extension-Specific Settings
Some extensions benefit from theme-specific color configurations:Highlight Matching Tag
This extension highlights matching HTML/JSX tags. Configure it to match Shades of Purple:rgba(165, 153, 233, 0.3)) complements the theme perfectly.
Install Highlight Matching Tag from the VSCode marketplace.
Import Cost
The Import Cost extension shows the size of imported packages. These colors integrate seamlessly:- Large packages: Red (
#EC3A37F5) - matches theme’s error/warning color - Medium packages: Purple (
#B362FF) - matches theme’s comment color - Small packages: Purple (
#B362FF) - consistent with medium
Install Import Cost from the VSCode marketplace.
Indent Rainbow
For indent visualization that works with the theme:See the GitHub discussion for more Indent Rainbow configurations.
Theme Color Reference
Here are the main colors used in Shades of Purple that you can reference in customizations:| Color Name | Hex Code | Usage |
|---|---|---|
| Background | #2D2B55 | Main editor background |
| Background Dark | #1E1E3F | Darker backgrounds (terminal, sidebar) |
| Foreground | #A599E9 | Default text color |
| Yellow/Gold | #FAD000 | Keywords, highlights, cursor |
| Orange | #FF7200 | Warnings, special elements |
| Light Orange | #FF9D00 | Keywords, operators |
| Purple | #B362FF | Comments, medium emphasis |
| Pink/Magenta | #FF628C | Constants, errors |
| Light Pink | #FB94FF | Definitions, classes |
| Green | #A5FF90 | Strings, success states |
| Cyan | #9EFFFF | Variables, tags, meta |
| Red | #EC3A37F5 | Errors, deletions |
Example: Custom Theme Variant
Here’s an example of creating a darker variant of Shades of Purple:VSCode also offers a “Shades of Purple (Super Dark)” variant in beta. Look for it in the theme selector!
Sharing Your Customizations
If you create a customization you love:- Share it in the GitHub Discussions
- Tweet it to @MrAhmadAwais
- Consider creating a derivative theme
Troubleshooting
Changes Not Appearing
- Ensure you’re using the exact theme name:
[Shades of Purple] - Check for JSON syntax errors in settings.json
- Reload VSCode window (
Cmd+Shift+P→ “Reload Window”) - Verify the theme is active in Color Theme selector
Colors Look Wrong
- Disable semantic highlighting if it interferes
- Check for conflicting extensions that modify colors
- Reset to defaults by removing customizations
- Ensure you’re using the latest theme version
Next Steps
- Review the Recommended Settings for optimal configuration
- Configure your Font Setup for the best visual experience
- Explore the Color Palette for all available theme colors