0
0
Fork 0
mirror of https://github.com/enkia/tokyo-night-vscode-theme.git synced 2024-12-19 20:54:42 -05:00
A clean, dark Visual Studio Code theme that celebrates the lights of Downtown Tokyo at night.
Find a file
2020-03-11 21:31:25 -04:00
static Initialize launch 2019-10-22 11:45:55 -04:00
themes Update variable color in bracket notation 2020-01-01 23:21:02 -05:00
.gitignore Initialize launch 2019-10-22 11:45:55 -04:00
CHANGELOG.md Update changelog 2020-03-11 21:29:24 -04:00
icon.png Initialize launch 2019-10-22 11:45:55 -04:00
icon.svg Initialize launch 2019-10-22 11:45:55 -04:00
package.json 0.4.9 2020-03-11 21:31:25 -04:00
README.md Update readme 2020-03-11 21:26:58 -04:00
tokyo-night.itermcolors Initialize launch 2019-10-22 11:45:55 -04:00

Tokyo Night

Version Rating Issues

A clean, dark Visual Studio Code theme that celebrates the lights of Downtown Tokyo at night.

Note: Many UI elements are intentionally low contrast so as not to distract. I can provide customization settings similar to what is shown below to anyone who needs specific text brightened.

Visual Studio Code 1.43.0 change to syntax highlighting: I'm currently trying to find out how or if I need to update the theme to utilize the new semantic highlighting feature. There also seems to be issues with it as well. For example, while Vscode's scope inspector shows it's pulling in my intended function color, it reverts to the default white after a few seconds. To disable the feature for the time being you can search for or add this to your settings:

"editor.semanticHighlighting.enabled": false

Screenshots

Tokyo Night Screenshot - Tokyo Night

Tokyo Night Storm Screenshot - Tokyo Night Storm

Disabling Italics

Paste this into your settings.json to disable italics.

"editor.tokenColorCustomizations": {
    "[Tokyo Night]": { // or "[Tokyo Night Storm]"
        "textMateRules": [{
            "scope": [
                "comment",
                "meta.var.expr storage.type",
                "keyword.control.flow",
                "meta.directive.vue punctuation.separator.key-value.html",
                "meta.directive.vue entity.other.attribute-name.html",
                "tag.decorator.js entity.name.tag.js",
                "tag.decorator.js punctuation.definition.tag.js",
                "storage.modifier"
            ],
            "settings": {
                "fontStyle": ""
            }
        }]
    }
}

Brightening Codelens text

I prefer my Codelens text fade into the background unless hovered over, but if you'd like a higher contrast, add this to your settings.json:

"workbench.colorCustomizations": {
    "[Tokyo Night]": { // or "[Tokyo Night Storm]"
        "editorCodeLens.foreground": "#7982a9", // Preferred hex color
    }
}

Window Active and Inactive borders (vscode 1.40.0)

macOS dark-mode doesn't play well with these two theme mods so I've chosen to darken them as much as I can to fix the gray border issue on my side. Set them however you like using:

"workbench.colorCustomizations": {
    "[Tokyo Night]": { // or "[Tokyo Night Storm]"
        "window.activeBorder": "#ff0000",
        "window.inactiveBorder":"#0000ff"
    }
}

Other portings

iTerm
tokyo-night.itermcolors is supplied in this theme's ~/.vscode/extensions folder or via github.

Sublime Text
Tokyo Night is a color scheme option in my Enki Theme.



Enjoy!

Tokyo Tower icon used in theme icon made by Smashicons from www.flaticon.com