- Features
- Preview
- Installation
- Using the Theme
- Color Palette
- Supported Languages
- Development
- Related Projects
- Contributing
- License
- Credits
- Dark theme with bright greenish accents
- Optimized for long coding sessions
- Two variants: Standard (vibrant) and Soft (desaturated)
- Explicit scoping for 30+ languages and dialects
- Semantic highlighting support
This is the Green Night Theme for Visual Studio Code.
| Variable | Hex | Purpose |
|---|---|---|
| BGDarker | #0C0F0E |
Darkest panels |
| BGDark | #121614 |
Dark sidebars/status bar |
| BG | #171C19 |
Main editor background |
| BGLight | #1A201D |
Mid-tone neutral |
| BGLighter | #222926 |
Hover states/highlights |
| ANSI | Name | Normal | Bright |
|---|---|---|---|
| 0/8 | Black | #2D332F |
#7FC99B |
| 1/9 | Red | #FF7A72 |
#FF9A92 |
| 2/10 | Green | #4BEA9A |
#6DFFC9 |
| 3/11 | Yellow | #FFF06A |
#FFF58F |
| 4/12 | Blue | #C4B5FF |
#D5CAFF |
| 5/13 | Magenta | #FF8DB5 |
#FFA9C8 |
| 6/14 | Cyan | #5FFFC0 |
#8BFFE2 |
| 7/15 | White | #FAFFFB |
#FFFFFF |
This theme includes explicit scoping fixes for the following languages and dialects:
| Language | Scoping | Language | Scoping |
|---|---|---|---|
| JavaScript (JS) | variable.other.constant.js |
TypeScript (TS) | variable.other.constant.ts |
| JSX | variable.other.constant.js, support.class.component.jsx |
TSX | variable.other.constant.tsx, support.class.component.tsx |
| C | storage.type.c |
C++ | generic |
| C# | keyword.type.cs, storage.type.cs |
Go | source.go storage.type |
| Java | source.java storage.type |
Groovy | source.groovy storage.type |
| Kotlin | storage.type.kotlin |
Scala | storage.type.scala |
| Dart | storage.type.dart |
Swift | storage.type.attribute.swift |
| ObjC | storage.type.objc |
PHP | storage.type.php |
| Python | docstrings | Ruby | variable.other.readwrite.instance.ruby |
| Rust | storage.class.std.rust, storage.type.core.rust |
Haskell | storage.type.haskell |
| OCaml | storage.type.ocaml |
Elixir | storage.type.elixir |
| Lua | support.function.any-method.lua |
Perl | constant.other.key.perl |
| Shell | source.shell variable.other |
PowerShell | source.powershell |
| SCSS | meta.attribute-selector.scss |
CSS | punctuation.separator.list.comma.css |
| YAML | entity.name.tag.yaml |
TOML | entity.name.section.toml |
| GraphQL | entity.name.fragment.graphql |
Markdown | markup.heading.markdown |
| Makefile | meta.scope.prerequisites.makefile |
CoffeeScript | meta.variable.assignment.destructured.object.coffee |
| Vue | punctuation.section.embedded.begin.vue |
Svelte | punctuation.section.embedded.begin.svelte |
| Terraform/HCL | storage.type.hcl |
Prisma | storage.type.prisma |
Additional languages (R, SQL, Dockerfile, JSON, XML, etc.) are covered by the general purpose scoping rules.
- Open the Command Palette (
Ctrl+Shift+PorCmd+Shift+P) - Type "Preferences: Color Theme" and press Enter
- Search for "Green Night Theme"
- Select either "Green Night Theme" or "Green Night Theme Soft" from the list
For the best experience, add these to your settings.json:
{
"workbench.colorTheme": "Green Night Theme",
"editor.fontFamily": "'Victor Mono', Monaco, Menlo, 'Courier New', monospace",
"editor.fontSize": 16,
"editor.lineHeight": 1.5,
"editor.fontWeight": "600",
"editor.wordWrap": "on"
}- Green Night Theme — Vibrant, high-contrast version
- Green Night Theme Soft — Desaturated version for reduced eye strain
# Install dependencies
pnpm install
# Build the theme
pnpm run build
# Package the extension
pnpm run package├── src/
│ └── green-night.yml # Theme source file (YAML)
├── theme/
│ ├── green-night.json # Generated theme
│ └── green-night-soft.json
├── scripts/
│ ├── build.js # Build script
│ └── generate.js # Theme generator
└── images/
└── icon.png # Extension icon
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to:
- Open an issue
- Submit a pull request
- Share your feedback
For updates, star this repository and follow me on GitHub.
- Green Night Theme for Ghostty — The same color palette, adapted for the Ghostty terminal emulator
- Inspired by the green color palette
- Based on the Dracula Theme schema, with colors adapted from the green color palette
- Thanks to all contributors who help improve this theme
This project is licensed under the MIT License - see the LICENSE file for details.
Made by Ender Bonnet

