mirror of
https://github.com/enkia/tokyo-night-vscode-theme.git
synced 2024-12-19 20:54:42 -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:
parent
293ba05638
commit
e523651101
1 changed files with 43 additions and 0 deletions
43
README.md
43
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue