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

feat: adding jsdoc-style settings in readme (#79)

* Adding JSDoc-style to tokyo-night

* Fixing JSDoc-style

* reverting theme changes

* adding jsdoc highlight settings in readme

---------

Co-authored-by: Tiago Silva Cardoso - 06453943514 <tiago.s.cardoso@animaeducacao.com.br>
This commit is contained in:
Tiago Cardoso 2023-10-05 12:13:44 -03:00 committed by GitHub
parent 293ba05638
commit e523651101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,49 @@ Paste this into your [settings.json](https://code.visualstudio.com/docs/getstart
}
}
```
## Enabling JSDoc Highlights
Paste this into your [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations) to Enable JSDoc Highlight.
```javascript
"editor.tokenColorCustomizations": {
"[Tokyo Night]": { // or "[Tokyo Night Storm]"
"textMateRules": [
{
"scope": [
"comment keyword.codetag.notation",
"comment.block.documentation keyword",
"comment.block.documentation storage.type.class"
],
"settings": {
"foreground": "#bb9af7"
}
},
{
"scope": ["comment.block.documentation entity.name.type.instance"],
"settings": {
"foreground": "#73daca",
"fontStyle": "italic"
}
},
{
"scope": [
"comment.block.documentation entity.name.type punctuation.definition.bracket"
],
"settings": {
"foreground": "#bb9af7"
}
},
{
"scope": ["comment.block.documentation variable"],
"settings": {
"foreground": "#e0af68",
"fontStyle": "italic"
}
}
]
}
}
```
## Customization Settings Examples
#### Higher Contrast Settings
The below can by no means officially represent high contrast but they may serve as a starting point. This assumes that the darker Tokyo Night version is being used.