Rust Industrial Theme for VS Code

A meticulously designed color palette for Rust developers. Inspired by industrial aesthetics and the language's official branding, it is engineered to reduce visual fatigue during long backend coding sessions.
The Rust Industrial theme doesn't just change your editor's colors; it understands your code's semantics, highlighting lifetimes, macros, and mutability intelligently.
Screenshots
| Dark Mode |
Light Mode |
 |
 |
Key Features
- 🌓 Dark and Light Mode Support: Seamless switching if you use the OS's Auto Detect Color Scheme feature.
- 🔬 Deep Semantic Highlighting: Built to shine with
rust-analyzer.
- Mutable Variables: Instantly underlined in rust orange so you never lose track of state (
let mut x).
- Lifetimes (
'a): Highlighted in italic with a contrasting metallic color.
- Macros (
println!): Styled in bold to clearly distinguish them from standard functions.
- 📦 Optimized TOML Support: Custom colors for your
Cargo.toml (Best used with the Even Better TOML extension).
- 🖥️ Customized Integrated Terminal:
cargo run and cargo check output respects the theme's palette.
Installation
Via Marketplace (Recommended)
- Open VS Code.
- Go to the Extensions tab (
Ctrl+Shift+X or Cmd+Shift+X).
- Search for Rust Industrial Theme.
- Click Install.
- Press
Ctrl+K followed by Ctrl+T and select Rust Industrial Dark or Light.
Manual Installation (.vsix)
If you downloaded the .vsix file directly:
- Go to the Extensions tab.
- Click the three dots
... in the top right corner.
- Select "Install from VSIX..." and choose the downloaded file.
Recommended Settings
To extract 100% of the power of this theme (especially the mutable variable underlining and lifetime highlighting), you must have the official rust-analyzer extension installed and semantic highlighting enabled.
Add the following snippet to your user settings.json:
{
// Enables VS Code's intelligent code reading
"editor.semanticHighlighting.enabled": true,
// (Optional) Uses official fonts with ligatures
"editor.fontFamily": "'Fira Code', 'Cascadia Code', Consolas, monospace",
"editor.fontLigatures": true
}