Dark theme that's a smart investment in productivitiy and reflects a sensible brand.
Download from the VS Code marketplace, or install from VS Code,
- Type
cmd+shift+p
to open the command palette. - Type "ext" and select "Extensions: Install Extensions" to open the Extensions sidebar.
- Type "cents" in the Extensions sidebar to find the theme (look for the 💰).
yarn
yarn build # repackages .vsix file
yarn clean # wipes .vsix files
Once we have a .vsix
package, we're able to install the theme.
From VS Code,
cmd+shift+p
to open command palette- Type "ext" and select "Extensions: Install Extensions"
- Click the
...
menu in the upper right corner of the sidebar - Choose "Install from VSIX"
- From Finder, select the
.vsix
file that we generated innpm run build
. Once selected, it should appear in the extensions sidebar - Done!
To toggle the theme go to Preferences > Color Theme > Cents
. Search for "cents" in the Extensions sidebar to reinstall.
Note: if you're using the Bracket Pair Colorizer extension, that will take precedence over the theme. Don't be alarmed if you don't see your changes being propagated as expected.
Want to improve Cents? It's super easy to.
All you need to do is replace the hex values in cents.js
with valid colors
design tokens. For example,
// cents.js
const colors = {
blueLighter : '#9DCDFA',
}
module.exports = {
colors: {
"badge.background": "#2e363c", // this should be using a color.
}
}
How do I publish this?
vsce publish
or visit https://marketplace.visualstudio.com/manage/publishers/piperchester.
Cents was inspired by the awesome Any Dark
and One Dark Pro
projects.
It just makes sense!