Skip to content

Commit

Permalink
[Python][m]: add some support for python
Browse files Browse the repository at this point in the history
  • Loading branch information
mariorodeghiero committed Oct 12, 2022
1 parent 2f43592 commit f5d8c40
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-theme",
"version": "1.1.5",
"version": "2.0.1",
"displayName": "Vue Theme",
"description": "Theme for Visual Studio Code inspired by javascript, with support for more popular languages and a perfect harmony of colors",
"publisher": "mariorodeghiero",
Expand All @@ -11,8 +11,8 @@
},
"homepage": "https://mariorodeghiero.github.io/vue-theme/",
"maintainers": [
"Mario Rodeghiero <[email protected]>"
],
"Mario Rodeghiero <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/mariorodeghiero/vue-theme-vscode.git"
Expand Down
57 changes: 56 additions & 1 deletion themes/vue-theme-color-theme-high-contrast.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"tokenColors": [
{
"name": "comments",
"scope": "comment",
"scope": "comment, string.quoted.docstring.multi.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python, string.quoted.docstring.raw.multi.python",
"settings": {
"foreground": "#9e9e9e",
"fontStyle": "bold italic"
Expand Down Expand Up @@ -591,6 +591,61 @@
"settings": {
"foreground": "#53a5b9"
}
},
/**
* ----------------------------------
* Python
* ----------------------------------
**/
{
"scope": "source.python, storage.type.string.python",
"settings": {
"foreground": "#a7deec"
}
},
{
"scope": "meta.member.access.python, meta.function-call.arguments.python, meta.item-access.python",
"settings": {
"foreground": "#a7deec"
}
},
{
"scope": "variable.language.special.self.python",
"settings": {
"foreground": "#a7deec"
}
},
{
"scope": "meta.attribute.python",
"settings": {
"foreground": "#ee475e"
}
},
{
"scope": "meta.function-call.generic.python",
"settings": {
"foreground": "#09cbdd"
}
},
{
"name": "number",
"scope": "constant.numeric.dec.python",
"settings": {
"foreground": "#ff5622de"
}
},
{
"name": "number",
"scope": "string.quoted.single.python, punctuation.definition.string.end.python, punctuation.definition.string.begin.python",
"settings": {
"foreground": "#00abc1da"
}
},
{
"scope": "constant.language.python",
"settings": {
"foreground": "#f48fb1dc"
}
}
]
}
57 changes: 56 additions & 1 deletion themes/vue-theme-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
* ----------------------------------
**/
{
"scope": "comment",
"scope": "comment, string.quoted.docstring.multi.python, punctuation.definition.string.begin.python, punctuation.definition.string.end.python, string.quoted.docstring.raw.multi.python",
"settings": {
"foreground": "#8a8787",
"fontStyle": "italic"
Expand Down Expand Up @@ -787,6 +787,61 @@
"foreground": "#53a5b9"
}
},
/**
* ----------------------------------
* Python
* ----------------------------------
**/
{
"scope": "source.python, storage.type.string.python",
"settings": {
"foreground": "#a7deec"
}
},
{
"scope": "meta.member.access.python, meta.function-call.arguments.python, meta.item-access.python",
"settings": {
"foreground": "#a7deec"
}
},
{
"scope": "variable.language.special.self.python",
"settings": {
"foreground": "#a7deec"
}
},
{
"scope": "meta.attribute.python",
"settings": {
"foreground": "#ee475e"
}
},
{
"scope": "meta.function-call.generic.python",
"settings": {
"foreground": "#09cbdd"
}
},
{
"name": "number",
"scope": "constant.numeric.dec.python",
"settings": {
"foreground": "#ff5622de"
}
},
{
"name": "number",
"scope": "string.quoted.single.python, punctuation.definition.string.end.python, punctuation.definition.string.begin.python",
"settings": {
"foreground": "#00abc1da"
}
},
{
"scope": "constant.language.python",
"settings": {
"foreground": "#f48fb1dc"
}
},
/**
* ----------------------------------
* Others
Expand Down

0 comments on commit f5d8c40

Please sign in to comment.