Skip to content

Commit

Permalink
Improve Python highlight #632
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Oct 3, 2021
1 parent 5b48556 commit 5b03781
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 27 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# CHANGELOG
## 3.13.1 | 2021.10.03
- Improve Python highlight [#632](https://github.com/Binaryify/OneDark-Pro/pull/632)

## 3.13.0 | 2021.09.30
- Enable your extension to run on VS Code for the web [#601](https://github.com/Binaryify/OneDark-Pro/pull/601) [#581](https://github.com/Binaryify/OneDark-Pro/issues/581)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "material-theme",
"displayName": "One Dark Pro",
"description": "Atom‘s iconic One Dark theme for Visual Studio Code",
"version": "3.13.0",
"version": "3.13.1",
"publisher": "zhuangtongfa",
"license": "MIT",
"bugs": {
Expand Down
57 changes: 32 additions & 25 deletions src/themes/themeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ export default {
foreground: 'chalky',
},
},
{
name: 'variable.parameter.function.language.special.cls.python',
scope: 'variable.parameter.function.language.special.cls.python',
settings: {
foreground: 'chalky',
},
},
{
name: 'storage.modifier.lifetime.rust',
scope: 'storage.modifier.lifetime.rust',
Expand Down Expand Up @@ -1010,39 +1017,39 @@ export default {
},
},
{
"name": "[VSCODE-CUSTOM] Asciidoc Inline Raw",
"scope": "markup.raw.monospace.asciidoc",
"settings": {
"foreground": "green"
}
name: '[VSCODE-CUSTOM] Asciidoc Inline Raw',
scope: 'markup.raw.monospace.asciidoc',
settings: {
foreground: 'green',
},
},
{
"name": "[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition",
"scope": "punctuation.definition.asciidoc",
"settings": {
"foreground": "chalky"
}
name: '[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition',
scope: 'punctuation.definition.asciidoc',
settings: {
foreground: 'chalky',
},
},
{
"name": "[VSCODE-CUSTOM] Asciidoc List Punctuation Definition",
"scope": "markup.list.asciidoc",
"settings": {
"foreground": "chalky"
}
name: '[VSCODE-CUSTOM] Asciidoc List Punctuation Definition',
scope: 'markup.list.asciidoc',
settings: {
foreground: 'chalky',
},
},
{
"name": "[VSCODE-CUSTOM] Asciidoc underline link",
"scope": "markup.link.asciidoc,markup.other.url.asciidoc",
"settings": {
"foreground": "purple"
}
name: '[VSCODE-CUSTOM] Asciidoc underline link',
scope: 'markup.link.asciidoc,markup.other.url.asciidoc',
settings: {
foreground: 'purple',
},
},
{
"name": "[VSCODE-CUSTOM] Asciidoc link name",
"scope": "string.unquoted.asciidoc,markup.other.url.asciidoc",
"settings": {
"foreground": "malibu"
}
name: '[VSCODE-CUSTOM] Asciidoc link name',
scope: 'string.unquoted.asciidoc,markup.other.url.asciidoc',
settings: {
foreground: 'malibu',
},
},
{
name: 'Regular Expressions',
Expand Down
7 changes: 7 additions & 0 deletions themes/OneDark-Pro-darker.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
"foreground": "#e5c07b"
}
},
{
"name": "variable.parameter.function.language.special.cls.python",
"scope": "variable.parameter.function.language.special.cls.python",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "storage.modifier.lifetime.rust",
"scope": "storage.modifier.lifetime.rust",
Expand Down
7 changes: 7 additions & 0 deletions themes/OneDark-Pro-flat.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
"foreground": "#e5c07b"
}
},
{
"name": "variable.parameter.function.language.special.cls.python",
"scope": "variable.parameter.function.language.special.cls.python",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "storage.modifier.lifetime.rust",
"scope": "storage.modifier.lifetime.rust",
Expand Down
2 changes: 1 addition & 1 deletion themes/OneDark-Pro.json
Original file line number Diff line number Diff line change
Expand Up @@ -2119,4 +2119,4 @@
"walkThrough.embeddedEditorBackground": "#2e3440",
"welcomePage.buttonHoverBackground": "#404754"
}
}
}

0 comments on commit 5b03781

Please sign in to comment.