Skip to content

Commit 2b8328e

Browse files
committed
Exception are also had custom colors.
1 parent b5806b5 commit 2b8328e

17 files changed

+177
-39
lines changed

.github/assets/4.3.2-vs-4.3.1.png

37.6 KB
Loading

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
*.vsix
2+
13
# windows
24
desktop.ini
3-
*.vsix
5+
6+
# Mac
7+
.DS_Store

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# ✨ Changelog
22

3+
## 🏷 4.3.2 (27 Jul 2022)
4+
5+
- `Exception` are also had custom colors.
6+
7+
![4.3.2 vs 4.3.1](.github/assets/4.3.2-vs-4.3.1.png)
8+
9+
> 💁‍♂️ Light theme olsa updated.
10+
311
## 🚀 4.3.1 (12/06/2020)
412

513
- ⭐ Icon renewed

core/darkcode.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@
125125
},
126126
"tokenColors": [
127127
// ----------- Start Code Colors -----------
128+
{
129+
"name": "Exceptions",
130+
"scope": [
131+
"support.type.exception"
132+
],
133+
"settings": {
134+
"foreground": "#E05431"
135+
}
136+
},
128137
{
129138
"name": "Attribute",
130139
"scope": [
@@ -1923,4 +1932,4 @@
19231932
}
19241933
}
19251934
]
1926-
}
1935+
}

core/lightcode.json

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@
125125
},
126126
"tokenColors": [
127127
// ----------- Start Code Colors -----------
128+
{
129+
"name": "Exceptions",
130+
"scope": [
131+
"support.type.exception"
132+
],
133+
"settings": {
134+
"foreground": "#1fabce"
135+
}
136+
},
128137
{
129138
"name": "Attribute",
130139
"scope": [
@@ -331,24 +340,24 @@
331340
}
332341
},
333342
{
334-
"name": "Docstring",
335-
"scope": [
336-
"string.quoted.docstring"
337-
],
338-
"settings": {
339-
"foreground": "#955ebc"
340-
}
341-
},
342-
{
343-
"name": "Codetag Notation",
344-
"scope": [
345-
"keyword.codetag.notation.python"
346-
],
347-
"settings": {
348-
"foreground": "#4c80e2",
349-
"fontStyle": "italic bold underline"
350-
}
351-
},
343+
"name": "Docstring",
344+
"scope": [
345+
"string.quoted.docstring"
346+
],
347+
"settings": {
348+
"foreground": "#955ebc"
349+
}
350+
},
351+
{
352+
"name": "Codetag Notation",
353+
"scope": [
354+
"keyword.codetag.notation.python"
355+
],
356+
"settings": {
357+
"foreground": "#4c80e2",
358+
"fontStyle": "italic bold underline"
359+
}
360+
},
352361
// ----------- Start Code Colors -----------
353362
// ----------- Start Markdown Colors -----------
354363
{

themes/darkcode-contrast-plus-plus.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@
130130
"tab.hoverBorder": "#ffd90070"
131131
},
132132
"tokenColors": [
133+
{
134+
"name": "Python exceptions",
135+
"scope": [
136+
"support.type.exception.python"
137+
],
138+
"settings": {
139+
"foreground": "#E05431"
140+
}
141+
},
133142
{
134143
"name": "Attribute",
135144
"scope": [

themes/darkcode-contrast-plus.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@
130130
"tab.hoverBorder": "#ffd90070"
131131
},
132132
"tokenColors": [
133+
{
134+
"name": "Python exceptions",
135+
"scope": [
136+
"support.type.exception.python"
137+
],
138+
"settings": {
139+
"foreground": "#E05431"
140+
}
141+
},
133142
{
134143
"name": "Attribute",
135144
"scope": [

themes/darkcode-contrast.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@
123123
"widget.shadow": "#ffc00055"
124124
},
125125
"tokenColors": [
126+
{
127+
"name": "Python exceptions",
128+
"scope": [
129+
"support.type.exception.python"
130+
],
131+
"settings": {
132+
"foreground": "#E05431"
133+
}
134+
},
126135
{
127136
"name": "Attribute",
128137
"scope": [

themes/darkcode-plus-plus.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@
130130
"tab.hoverBorder": "#ffd90070"
131131
},
132132
"tokenColors": [
133+
{
134+
"name": "Python exceptions",
135+
"scope": [
136+
"support.type.exception.python"
137+
],
138+
"settings": {
139+
"foreground": "#E05431"
140+
}
141+
},
133142
{
134143
"name": "Attribute",
135144
"scope": [

themes/darkcode-plus.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@
130130
"tab.hoverBorder": "#ffd90070"
131131
},
132132
"tokenColors": [
133+
{
134+
"name": "Python exceptions",
135+
"scope": [
136+
"support.type.exception.python"
137+
],
138+
"settings": {
139+
"foreground": "#E05431"
140+
}
141+
},
133142
{
134143
"name": "Attribute",
135144
"scope": [

0 commit comments

Comments
 (0)