• Stars
    star
    664
  • Rank 67,903 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A VS Code theme with bubblegum colors on a moonlit background

Moonlight 🌌

Preview

Variants

  • Moonlight (regular and italics) (legacy)
  • Moonlight II (regular and italics) (recommended)

Installation

  1. Install Visual Studio Code
  2. Launch Visual Studio Code
  3. Choose Extensions from menu
  4. Search for atomiks.moonlight
  5. Click Install to install it
  6. Click Reload to reload the Code
  7. From the menu bar click: Code > Preferences > Color Theme > Pick your Moonlight variant

Semantic highlighting

Moonlight does not enable semantic highlighting by default, but it can be enabled in settings:

"editor.semanticHighlighting.enabled": true

How do I enable the glow seen in the screenshot?

Read instructions here.

moonlight.css stylesheet:

.mtk11 {
  color: #91bbff;
  text-shadow: 0 0 10px #2f36ff, 0 0 22px #9d91ff, 0 0 2px black;
}

.mtk12 {
  color: #67d2ff;
  text-shadow: 0 0 15px #12baff, 0 0 2px black;
}

⚠️ The mtk token numbers (11 and 12 above – which represent the two function colors) can change when the theme or VS Code version is updated, causing incorrect colors. When new releases arrive, make sure to visit the README for the updated stylesheet or make an issue if they change due to VS Code – I will update them accordingly.

Related Packages