🎨 CosmosCost VSCode Theme
A beautiful color theme for Visual Studio Code that matches the CosmosCost application design system. Features both dark and light variants with a carefully crafted color palette featuring soft pastel oranges and vibrant purples.
📸 Preview
✨ Features
- Dark Theme: Dark blue backgrounds (#0f172a) with vibrant purple and soft pastel orange accents
- Light Theme: Clean light backgrounds (#fafaf9) with professional purple and pastel orange tones
- Consistent Branding: Matches the CosmosCost application color system
- Aura-Inspired: Based on the popular Aura Dark theme structure with CosmosCost colors
- Semantic Highlighting: Enhanced code understanding with semantic token support
- Complete Coverage: Supports all popular languages and file types
- Git Integration: Distinct colors for modified, added, deleted, and untracked files
- Pastel Palette: Soft, easy-on-the-eyes orange tones for extended coding sessions
📦 Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions view (Ctrl+Shift+X/Cmd+Shift+X)
- Search for "CosmosCost"
- Click Install
🚀 Activation
- Open VS Code
- Press Ctrl+K Ctrl+T(orCmd+K Cmd+Ton Mac) to open theme selector
- Choose either:
- CosmosCost Dark
- CosmosCost Light
 
Or use Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
- Type "Preferences: Color Theme"
- Select your preferred theme
🎨 Customization
You can customize specific colors by adding to your settings.json:
{
  "workbench.colorCustomizations": {
    "[CosmosCost Dark]": {
      "editor.background": "#1a1a1a"
    }
  },
  "editor.tokenColorCustomizations": {
    "[CosmosCost Dark]": {
      "comments": "#6a9955"
    }
  }
}
🎨 Color Palette
🌙 Dark Theme
UI Colors:
- Editor Background: #0f172a(Dark blue - matches CosmosCost app)
- Sidebar Background: #0f172a(Dark blue)
- Activity Bar: #0f172awith#f59e6daccents (Pastel Orange)
- Primary Accent: #a78bfa(Purple 400)
- Secondary Accent: #f59e6d(Pastel Orange)
Syntax Colors:
- Keywords: #a78bfa(Purple 400)
- Strings: #f59e6d(Pastel Orange)
- Functions: #f7b890(Light Pastel Orange)
- Classes/Types: #06b6d4(Cyan 500)
- Properties: #ec4899(Pink 500)
- Variables: #ededed(Light gray)
- Comments: #64748b(Slate 500)
- Errors: #ef4444(Red 500)
- Warnings: #f7b890(Light Pastel Orange)
Git Decorations:
- Modified: #f7b890(Light Pastel Orange)
- Added: #f59e6d(Pastel Orange)
- Deleted: #ef4444(Red)
- Untracked: #f59e6d(Pastel Orange)
☀️ Light Theme
UI Colors:
- Editor Background: #fafaf9(Stone 50)
- Sidebar Background: #fafaf9(Stone 50)
- Activity Bar: #f8fafcwith#e88a5daccents (Pastel Orange)
- Primary Accent: #7c3aed(Purple 600)
- Secondary Accent: #e88a5d(Pastel Orange)
Syntax Colors:
- Keywords: #7c3aed(Purple 600)
- Strings: #e88a5d(Pastel Orange)
- Functions: #d8916d(Soft Pastel Orange)
- Classes/Types: #0891b2(Cyan 600)
- Properties: #be185d(Pink 700)
- Variables: #171717(Dark gray)
- Comments: #94a3b8(Slate 400)
- Errors: #dc2626(Red 600)
- Warnings: #d8916d(Soft Pastel Orange)
Git Decorations:
- Modified: #d8916d(Soft Pastel Orange)
- Added: #e88a5d(Pastel Orange)
- Deleted: #dc2626(Red)
- Untracked: #e88a5d(Pastel Orange)
🛠️ Development
📋 Prerequisites
- Node.js and npm
- Visual Studio Code
- @vscode/vsceCLI tool
⚙️ Setup
# Clone the repository
git clone <your-repo-url>
cd vscode-theme
# Install vsce globally
npm install -g @vscode/vsce
🧪 Testing Locally
- Press F5in VS Code to open a new Extension Development Host window
- In the new window, select your theme from the theme picker
🎨 Modifying Colors
Edit the theme files in the themes/ directory:
- themes/cosmoscost-dark-theme.json- Dark theme colors
- themes/cosmoscost-light-theme.json- Light theme colors
Key sections to modify:
- colors: Workbench UI colors (editor, sidebar, terminal, etc.)
- tokenColors: Syntax highlighting colors for code
📦 Building and Publishing
🔨 Manual Publishing
# Package the extension
vsce package
# This creates a .vsix file you can install locally or share
# Publish to marketplace (requires publisher account)
vsce publish
🤖 Automated Publishing with GitHub Actions
This repository includes a GitHub Actions workflow for automated publishing to the VS Code Marketplace.
Setup Steps:
- 🔑 Get a Personal Access Token (PAT): - 
- Go to Azure DevOps
- Create an organization if you don't have one
- Click your profile icon → Personal access tokens
- Click New Token and configure:
- Name: VS Code Marketplace
- Organization: All accessible organizations
- Scopes: Select Marketplace > Manage
 
- Copy the generated token
 
- 👤 Create a Publisher (if you haven't already): 
- 🔐 Add Secret to GitHub Repository: - 
- Go to your GitHub repository
- Navigate to Settings → Secrets and variables → Actions
- Click New repository secret
- Name: VSCE_PAT
- Value: Paste your Personal Access Token
- Click Add secret
 
- 🚀 Publish Using Workflow: - 
- Go to Actions tab in your GitHub repository
- Select Publish Extension workflow
- Click Run workflow
- Choose version increment:
- patch- 0.0.1 → 0.0.2 (bug fixes)
- minor- 0.0.1 → 0.1.0 (new features)
- major- 0.0.1 → 1.0.0 (breaking changes)
- Or specify exact version: 1.2.3
 
- Click Run workflow
 
The workflow will:
- Package the extension
- Publish to VS Code Marketplace
- Create a GitHub Release with the version tag
- Upload the .vsixfile as an artifact
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
MIT License - feel free to use and modify as needed.
🙏 Acknowledgments
Inspired by the VS Code default themes and community feedback.
📝 Changelog
0.0.1
- Initial release
- Dark theme variant
- Light theme variant
- Semantic highlighting support
- Updated orange colors to soft pastel tones for better visual comfort
- Refined color palette across both dark and light themes
- Improved consistency in syntax highlighting
💬 Support
If you encounter any issues or have suggestions, please file an issue on the GitHub repository.
💡 Tips for Customization
🔧 Common Modifications
- Change Editor Background: - "editor.background": "#yourcolor"
 
- Adjust Syntax Colors:
Edit the - tokenColorsarray and modify the- foregroundvalues for different scopes.
 
- Modify UI Elements:
Common UI color keys: - 
- sideBar.background
- activityBar.background
- statusBar.background
- terminal.background
 
📚 Useful Resources
🌟 Enjoy coding with CosmosCost! 🚀