RattleSnake
A warm, paper-toned VS Code theme. Burnt brown drives the primary syntax highlighting (keywords, functions, types); dark baby blue is used for secondary highlights (strings, constants, class/type names, selections/brackets, links).
Includes light and dark variants that share the same palette roles, plus structural highlighting for Python: class and function bodies get a subtle card-style background with a dashed brown top/bottom border, docstrings get a translucent blue wash, and self/cls are colored to match parentheses.
Install
- Package the extension (see below) to get a
.vsix file.
- In VS Code: Command Palette → Extensions: Install from VSIX... → select the file.
- Command Palette → Preferences: Color Theme → pick RattleSnake Light or RattleSnake Dark.
Palette
| Role |
Light |
Dark |
| background (paper) |
#F8F5EE |
#2A2018 |
| line/selection highlight |
#E8E1CE |
#3D2E1F |
| frame border |
#9C5A34 |
#E3A06B |
| foreground (ink) |
#3A2E22 |
#EDE0C8 |
| foreground muted (comments) |
#8A7660 |
#A08F72 |
| burnt brown (keywords) |
#7A3B1E |
#D4884F |
| burnt brown light (functions) |
#9C5A34 |
#E3A06B |
| dark baby blue (strings/docstrings) |
#345A72 |
#A9CFE3 |
| baby blue (constants/badges) |
#4C7A96 |
#7FB2D1 |
class/type name, self/cls, parens |
#5B84A0 |
#5A93B5 |
| error / warning / success |
#B33A3A / #B8860B / #5B7B4F |
#E0776B / #E0B34D / #94B87E |
To tweak, edit the hex values in themes/rattlesnake-light-color-theme.json and themes/rattlesnake-dark-color-theme.json directly, or ask for adjustments.
Python structural highlighting
extension.js (bundled in this same extension, activates on Python files) adds:
- A translucent background + dashed brown top/bottom border around every top-level class and function body.
- A translucent blue background behind docstrings.
Development
- Open this folder in VS Code.
- Press
F5 to launch an Extension Development Host with the theme and highlighting installed.
Packaging / Publishing
npm install -g @vscode/vsce
vsce package
This produces a .vsix you can install locally or share directly. To publish to the VS Code Marketplace under the letorky publisher, run vsce login letorky (requires a Personal Access Token from your Azure DevOps account), then vsce publish.