A detailed and accurate Atom One Dark theme
To get the icons in the screenshot above and an experience closer to Atom, check out my Atom Icons theme.
Note that if you want the same syntax highlighting as Atom One Dark, you will need to turn off semantic highlighting in your VS Code settings:
"editor.semanticHighlighting.enabled": false
I have mostly used this theme with JavaScript and other web technologies.
If you'd like me to add support for other languages, or notice a bug/discrepancy with Atom's One Dark theme, feel free to open an issue or pull request on this repo.
When contributing changes, make sure that there is an example of those changes in a file in /demo
. Files in that folder are used for manually testing syntax highlighting changes. It's not meant to be functional code (although it should be syntaxically correct) but instead to showcase different code patterns of languages supported by this theme. To make sure changes don't break existing highlighting, open and glance at these files in VS Code.
I've always loved the UI and UX of Atom, but prefer the speed and reliability of VS Code. After looking for a while, I couldn't find any VS Code theme that accurately replicated Atom One Dark's interface and syntax highlighting, so I made this one.
Here are some settings I use to make VS Code more minimalistic, so that I can focus on what's important. It also makes the experience more similar to Atom.
{
"breadcrumbs.enabled": false,
"editor.cursorBlinking": "blink",
"editor.folding": false,
"editor.hideCursorInOverviewRuler": true,
"editor.minimap.enabled": false,
"editor.occurrencesHighlight": false,
"editor.renderIndentGuides": false,
"editor.roundedSelection": false,
"editor.selectionHighlight": false,
"editor.scrollBeyondLastLine": false,
"explorer.decorations.colors": false,
"explorer.openEditors.visible": 0,
"window.zoomLevel": 0,
"workbench.activityBar.visible": false,
"workbench.editor.showIcons": false,
"workbench.startupEditor": "none",
"workbench.tree.renderIndentGuides": "none"
}
Note: This will hide the activity bar, so you will need to memorize a few shortcuts (they will be different if you changed the defaults):
- Show explorer: ⇧+ ⌘ + E
- Show search: ⇧+ ⌘ + F
- Show extensions: ⇧+ ⌘ + X
I also use Subtle Match Brackets instead of the default bracket matcher to get a better experience:
{
"editor.matchBrackets": "never",
"subtleBrackets.style": {
"borderWidth": "1px",
"borderColor": "#528BFF"
}
}
And if you would like keyword highlighting in comments, I use TODO Highlight with these settings to get Atom's colors:
{
"todohighlight.keywords": [
{
"text": "TODO:",
"color": "#C678DD",
"backgroundColor": "transparent"
},
{
"text": "NOTE:",
"color": "#C678DD",
"backgroundColor": "transparent"
},
{
"text": "FIXME:",
"color": "#C678DD",
"backgroundColor": "transparent"
}
]
}
This theme is heavily inspired from Atom's One Dark Syntax theme.
MIT