0
0
Fork 0
mirror of https://github.com/enkia/tokyo-night-vscode-theme.git synced 2024-11-07 20:24:11 -05:00
vscode/README.md

93 lines
4.9 KiB
Markdown
Raw Normal View History

# [Tokyo Night](https://marketplace.visualstudio.com/items?itemName=enkia.tokyo-night)
2019-11-09 10:55:55 -05:00
[![Version](https://vsmarketplacebadge.apphb.com/version/enkia.tokyo-night.svg)](https://marketplace.visualstudio.com/items?itemName=enkia.tokyo-night)
[![Rating](https://vsmarketplacebadge.apphb.com/rating-star/enkia.tokyo-night.svg)](https://marketplace.visualstudio.com/items?itemName=enkia.tokyo-night)
[![Issues](https://img.shields.io/github/issues/enkia/tokyo-night-vscode-theme)](https://github.com/enkia/tokyo-night-vscode-theme/issues)
2020-04-03 13:47:27 -04:00
<br><br>A clean, dark (and now light) Visual Studio Code theme that celebrates the lights of Downtown [Tokyo at night.](https://www.google.com/search?q=tokyo+night&newwindow=1&sxsrf=ACYBGNRiOGCstG_Xohb8CgG5UGwBRpMIQg:1571032079139&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiayIfIhpvlAhUGmuAKHbfRDaIQ_AUIEigB&biw=1280&bih=666&dpr=2)
2019-11-09 10:55:55 -05:00
<br><br>**Note:** Many UI elements are intentionally low contrast so as not to distract. I can provide [customization settings](https://code.visualstudio.com/api/references/theme-color) similar to what is shown below to anyone who needs specific text brightened.
2020-08-21 12:16:18 -04:00
<br><br>**Visual Studio Code 1.48.1 change to console.log:** They [removed the special text mate rule for console.log](https://github.com/microsoft/vscode/issues/104616#issuecomment-675066291) so there is currently no way to distinguish it from a regular object / method aside from using eslint.
2020-04-03 13:47:27 -04:00
<br><br>**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:
2020-03-11 21:26:58 -04:00
```javascript
"editor.semanticHighlighting.enabled": false
```
2019-10-22 11:45:55 -04:00
## Screenshots
Tokyo Night
2019-10-22 12:05:37 -04:00
![Screenshot - Tokyo Night](https://raw.githubusercontent.com/enkia/tokyo-night-vscode-theme/master/static/ss_tokyo_night.png)
2019-10-22 11:45:55 -04:00
Tokyo Night Storm
2019-10-22 12:05:37 -04:00
![Screenshot - Tokyo Night Storm](https://raw.githubusercontent.com/enkia/tokyo-night-vscode-theme/master/static/ss_tokyo_night_storm.png)
2019-10-22 11:45:55 -04:00
2020-04-03 13:50:13 -04:00
Tokyo Night Light
![Screenshot - Tokyo Night Light](https://raw.githubusercontent.com/enkia/tokyo-night-vscode-theme/master/static/ss_tokyo_day.png)
2020-04-03 13:47:27 -04:00
2019-10-22 11:45:55 -04:00
## Disabling Italics
Paste this into your [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations) to disable italics.
```javascript
"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:
```javascript
"workbench.colorCustomizations": {
"[Tokyo Night]": { // or "[Tokyo Night Storm]"
"editorCodeLens.foreground": "#7982a9", // Preferred hex color
}
}
```
2019-11-09 10:55:55 -05:00
## 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:
```javascript
"workbench.colorCustomizations": {
"[Tokyo Night]": { // or "[Tokyo Night Storm]"
"window.activeBorder": "#ff0000",
"window.inactiveBorder":"#0000ff"
}
}
```
2019-10-22 11:45:55 -04:00
2019-11-01 11:13:07 -04:00
## Other portings
**iTerm**
`tokyo-night.itermcolors` is supplied in this theme's ~/.vscode/extensions folder or via [github.](https://github.com/enkia/tokyo-night-vscode-theme/blob/master/tokyo-night.itermcolors)
2019-10-22 11:45:55 -04:00
2019-11-01 11:13:07 -04:00
**Sublime Text**
*Tokyo Night* is a color scheme option in my [Enki Theme.](https://packagecontrol.io/packages/Enki%20Theme)
2019-10-22 11:45:55 -04:00
2021-01-01 20:26:45 -05:00
**DuckDuckGo**
2020-10-24 08:12:47 -04:00
[DuckduckGo theme preferences](https://duckduckgo.com/?kae=d&ks=m&kak=-1&kax=-1&kaq=-1&kap=-1&kao=-1&kau=-1&k5=1&k7=1a1b26&kj=16161e&kx=1abc9c&k21=16161E&k18=-1&ka=e&kaa=BB9AF7&k9=C0CAF5&k8=6183BB&kt=e)
2021-01-01 20:26:45 -05:00
**Jetbrains IDE**
[Tokyo Night Color Scheme](https://plugins.jetbrains.com/plugin/15662-tokyo-night-color-scheme) works best with material theme plugin and [this theme.](https://github.com/Grafikart/tokyo-night-jetbrains-theme/blob/main/tokyonight.xml)
2020-11-04 16:51:43 -05:00
2021-01-01 20:26:45 -05:00
**Alfred**
2020-10-16 19:42:22 -04:00
Install the [Tokyo Night Alfred Theme.](https://www.alfredapp.com/extras/theme/puSaeqbft2/)
2021-01-01 20:26:45 -05:00
**Kitty Terminal**
[Tokyo Night](https://github.com/davidmathers/tokyo-night-kitty-theme) color scheme for [kitty.](https://sw.kovidgoyal.net/kitty/)
2020-12-17 21:28:48 -05:00
2019-11-01 11:13:07 -04:00
<br><br>
**Enjoy!**
2019-10-22 11:45:55 -04:00
2019-11-01 11:13:07 -04:00
###### Tokyo Tower icon used in theme icon made by Smashicons from www.flaticon.com