Contributions to the Codely VS Code Theme are welcome. Whether you’ve spotted a token color that looks off in your favorite language, want to add syntax highlighting support for a new language, or simply want to improve the README — every improvement helps make the theme better for everyone.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CodelyTV/vscode-theme/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before getting started, make sure you have the following installed:- Visual Studio Code — any version
^1.51.0 - Node.js and npm — required to install and run
vsce, the VS Code extension packaging tool - Git — for cloning your fork and submitting pull requests
Setting Up Your Development Environment
Fork the repository
Visit https://github.com/CodelyTV/vscode-theme on GitHub and click Fork to create your own copy of the repository.
Clone your fork locally
Clone your fork to your local machine and navigate into the project directory:
Install dev dependencies
Install the development dependencies, which includes
vsce — the VS Code Extension CLI used to package the theme:Editing the Theme
All visual styling for the Codely Dark theme is defined in a single file:colors— VS Code workbench UI colors. These control the appearance of surfaces like the Activity Bar, Status Bar, Editor background, Tabs, Sidebar, Panels, Terminal, and more.tokenColors— TextMate grammar scope rules for syntax highlighting. Each rule maps one or more TextMate scopes to aforegroundcolor and optionalfontStyle(e.g.,italic,bold).
Finding the Right Scope
To identify the exact TextMate scope for a token you want to style:- In the Extension Development Host window, open a source file in the language you want to inspect.
- Open the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon Mac). - Run the Inspect TM Scopes command.
- Click on any token in the editor — the panel will show all TextMate scopes assigned to that token, from most specific to least specific.
themes/dark.codely-theme-color-theme.json. If a matching rule already exists, update the foreground or fontStyle. If no rule exists, add a new entry to the tokenColors array:
When changing workbench
colors, refer to the full VS Code color token reference at https://code.visualstudio.com/api/references/theme-color for the complete list of supported tokens.Building a .vsix Package
Thevsce package command compiles the extension into a distributable .vsix file that can be installed locally or published to the Marketplace. Run the build script defined in package.json:
vsce package and produces a file like codely-theme-0.0.1.vsix in the project root. To install it directly in VS Code:
Submitting a Pull Request
Once you are happy with your changes:- Commit your changes and push them to your fork on GitHub.
- Open a Pull Request against the
mainbranch of CodelyTV/vscode-theme. - In the PR description, clearly explain:
- Which token or workbench color was changed
- Why the change improves the theme (e.g., better contrast, more accurate language support, alignment with the Gruvbox palette)
- Any languages or file types affected