0
0
Fork 0
mirror of https://github.com/enkia/tokyo-night-vscode-theme.git synced 2024-11-07 20:24:11 -05:00
A clean, dark Visual Studio Code theme that celebrates the lights of Downtown Tokyo at night.
Find a file
Markus Hsi-Yang Fritz 17f11c4982
Add Hyper terminal port (#22)
Thanks a lot for this great VS Code theme! I ported it to Hyper :)
2021-03-06 19:55:19 -05:00
static Add Tokyo Night Light theme variation 2020-04-03 13:47:27 -04:00
themes Add quickInput.list.focusBackground 2021-03-04 21:40:32 -05:00
.gitignore Initialize launch 2019-10-22 11:45:55 -04:00
CHANGELOG.md Update README 2021-03-05 20:47:39 -05: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
LICENSE.txt Add license 2021-03-06 19:50:33 -05:00
package.json 0.7.1 2021-03-05 20:47:59 -05:00
README.md Add Hyper terminal port (#22) 2021-03-06 19:55:19 -05:00
tokyo-night.itermcolors Update terminal black color 2020-07-27 16:33:23 -04:00

Tokyo Night

Version Rating Issues

A clean, dark (and now light) 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.48.1 change to console.log: They removed the special text mate rule for console.log so there is currently no way to distinguish it from a regular object / method aside from using eslint.

Visual Studio Code 1.43.0 change to syntax highlighting: This theme currently (in my opinion) works best with semantic syntax highlighting turned off. To disable the feature, 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

Tokyo Night Light Screenshot - Tokyo Night Light

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.

Alfred
Install the Tokyo Night Alfred Theme.

DuckDuckGo DuckduckGo theme preferences (by Grafikart)

JetBrains IDE
Tokyo Night Color Scheme works best with material theme plugin and this theme (by Grafikart)

Kitty Terminal
Tokyo Night color scheme for kitty (by davidmathers)

VIM/Neovim
tokyonight.vim, a VIM/Neovim color scheme.
This theme also has support for lightline as well as airline.

Alacritty Terminal
Tokyo Night Alacritty Theme, a color scheme for Alacritty Terminal Emulator

Hyper terminal
hyper-tokyo-night, a theme for Hyper.



Enjoy!

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