Midnight Dark Theme
A mystical Dark theme for VS Code with purple, cyan, and neon green accents that creates an enchanting coding environment. Perfect for developers who love beautiful, eye-friendly themes with excellent syntax highlighting.

Pre-view
Color Themes
- Midnight Dark
- Midnight Soft
- Midnight Light
- Midnight Ocean
- Midnight Forest
- Midnight Monochrome
Features
- [x] Deep Midnight Background - Easy on the eyes for long coding sessions
- [x] Purple Accents - Beautiful highlighting for functions and variables
- [x] Cyan Keywords - Clear distinction for language keywords and operators
- [x] Neon Green Constants - Vibrant colors for constants and data types
- [x] Soft Pink Strings - Gentle coloring for string literals
- [x] Subtle Gray Comments - Non-intrusive comment styling
- [x] Complete UI Theming - Consistent design across all VS Code elements
- [x] Multi-Language Support - Optimized for 9+ programming languages
- [x] Accessibility Focused - WCAG compliant color contrast ratios
- [x] Terminal Integration - Matching ANSI color scheme
- [x] Git Integration - Color-coded file status indicators
Color Palette 🎨
Element |
Color |
Hex Code |
Usage |
Background |
Deep Blue |
#1a1b26 |
Editor background, main interface |
Functions/Variables |
Light Purple |
#c792ea |
Function names, variable declarations |
Keywords/Operators |
Cyan |
#89ddff |
Language keywords, operators |
Strings |
Soft Pink |
#f07178 |
String literals, text content |
Constants/Types |
Neon Green |
#c3e88d |
Constants, numbers, data types |
Comments |
Gray |
#5c6370 |
Comments, documentation |
Foreground |
Light Blue |
#c0caf5 |
Default text color |
Installation
From VS Code Marketplace (Recommended)
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X
/ Cmd+Shift+X
)
- Search for "Midnight Dark"
- Click Install
- Go to Settings → Color Theme → Select "Midnight Dark"
Manual Installation
- Download the latest
.vsix
file from Releases or Marketplace
- In VS Code, press
Ctrl+Shift+P
/ Cmd+Shift+P
- Type "Extensions: Install from VSIX"
- Select the downloaded file
- Reload VS Code
From Source
git clone https://github.com/extrise/midnight-dark-theme.git
cd midnight-dark-theme
npm install
npm run build
[!TIP]
Use Ctrl+K Ctrl+T
(Windows/Linux) or Cmd+K Cmd+T
(macOS) to quickly switch between themes!
Supported Languages
The theme includes optimized syntax highlighting for:
- [x] JavaScript/TypeScript - Complete ES6+ support
- [x] Python - Classes, decorators, f-strings
- [x] HTML/CSS - Tags, properties, selectors
- [x] JSON - Data structures, keys, values
- [x] Markdown - Headings, links, code blocks
- [x] JSX/TSX - React components, props
- [~] YAML - Basic syntax support
- [~] SQL - Basic keyword highlighting
- [~] Shell Scripts - Basic syntax support
- [ ] PHP - Coming soon!
- [ ] Java/C# - Coming soon!
- [ ] Go/Rust - Coming soon!
- [ ] Docker - Coming soon!
- [ ] More languages planned!
[!NOTE]
If you'd like support for a specific language, please open an issue with examples!
Customization
You can customize the theme by modifying your VS Code settings:
{
"workbench.colorCustomizations": {
"[Midnight dark]": {
"editor.background": "#1a1b26",
"editor.foreground": "#c0caf5"
}
},
"editor.tokenColorCustomizations": {
"[Midnight dark]": {
"comments": "#5c6370",
"keywords": "#89ddff"
}
}
}
[!IMPORTANT]
Custom color modifications will override the theme's default colors. Make sure to maintain good contrast ratios for accessibility!
Contributing
We welcome contributions! Here's how you can help:
Ways to Contribute
- [x] Report Bugs - Found an issue? Open a bug report
- [x] Suggest Features - Have an idea? Request a feature
- [x] Improve Colors - Submit color improvements or new variants
- [x] Documentation - Help improve docs, examples, or translations
- [x] Code - Fix bugs, add features, or optimize performance
Development Setup
Fork the repository
git clone https://github.com/extrise/midnight-dark-theme.git
cd midnight-dark-theme
Install dependencies
npm install
Start development
npm run dev
Test your changes
- Press
F5
to open Extension Development Host
- Select "Midnight dark" theme
- Test with different file types
Submit a pull request
[!TIP]
Check out our DEVELOP.md for detailed development guidelines and roadmap!
Roadmap
Upcoming Features
- [ ] Light Theme Variant - Bright version of Midnight dark
- [ ] High Contrast Variant - Enhanced accessibility
- [ ] Color Customization Panel - Easy theme personalization
- [ ] Additional Language Support - More programming languages
- [ ] Theme Variants - Different color combinations
- [ ] Semantic Token Support - Enhanced TypeScript/JavaScript highlighting
- [ ] Bracket Pair Colorization - Custom bracket colors
[!NOTE]
Want to influence our roadmap? Join the discussion and share your ideas!
Statistics
- Total Colors Defined: 200+ UI colors
- Syntax Rules: 50+ token color rules
- Language Support: 9+ programming languages
- File Size: ~150KB (optimized for performance)
- Accessibility: WCAG AA compliant
Troubleshooting
Theme Not Applying
- Restart VS Code completely
- Check if theme is selected:
Ctrl+K Ctrl+T
- Verify installation in Extensions panel
Colors Look Different
- Check your monitor's color profile
- Ensure VS Code is updated to latest version
- Disable other color-modifying extensions
- The theme is optimized and shouldn't affect performance
- If you experience issues, please report them
[!CAUTION]
If you're using custom CSS extensions or theme modifications, they might conflict with Midnight dark. Try disabling them to isolate issues.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Acknowledgments
- Thanks to the VS Code team for the excellent theming API
- Inspired by various dark themes in the community
- Special thanks to all contributors and users who provide feedback
- Color palette inspired by modern design trends and accessibility guidelines
Show Your Support
If you like this theme, please:
- ⭐ Star the repository
- 📝 Leave a review on the VS Code Marketplace
- 🐦 Share it with your developer friends
Happy coding with Midnight dark! 🌙✨
Made with 🐸 by nayandas69