Rust in Peace Theme for VS Code
A dark theme inspired by the album art of Megadeth's 1990 metal masterpiece, Rust in Peace.
Installation
- Open Extensions sidebar panel in VS Code.
View → Extensions
- Search for
Megadeth (Curse you rust-lang!!!)
- Click Install to install it.
- Code > Preferences > Color Theme > Rust in Peace
Colour Palette
See assets/palette.json
TODO
- Python static type annotations
- Palette image
- Screenshots of code samples
Contributing
To work on the theme:
- Clone this repo and open in VS Code
- Open run
View → Run
- Click
Launch Extension . This will open up another VS Code Editor
- Target scopes using the "Developer: Inspection Editor Tokens and Scopes" command
- Make changes to
src/rust-in-peace.yaml , and run npm run build . You will see changes reflected in the other editor that opened in step 3.
Please provide screenshots of your changes before & after in Pull Requests.
Scripts (Mainly for the publisher's use)
npm run extension:install - Builds and installs the extension locally
npm run publish:minor - Bump and publish
npm run publish:patch - Bump and publish
Manual Publishing
- Bump the version in
package.json
git commit -m 'Fire' Commit the changes
git tag v2.0.666 Tag the commit with the version number
git push origin --tags Push the tag
git push Push the changes
- Create a release in Github with the same version number
- Github actions will publish the extension to the marketplace
- Profit!
Also check out the Slayer Reign in Blood theme.
| |