Skip to content

Commit aa95e43

Browse files
committed
update: Improved latex highlight #827
1 parent 3072916 commit aa95e43

File tree

7 files changed

+91
-2
lines changed

7 files changed

+91
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# CHANGELOG
2+
## 3.17.4 | 2024.09.20
3+
- Improved latex highlight #827
4+
25
## 3.17.3 | 2024.09.13
36
- Improved C/C++ highlight #828
47

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "material-theme",
33
"displayName": "One Dark Pro",
44
"description": "Atom's iconic One Dark theme for Visual Studio Code",
5-
"version": "3.17.3",
5+
"version": "3.17.4",
66
"publisher": "zhuangtongfa",
77
"license": "MIT",
88
"bugs": {

src/themes/themeData.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,8 @@ export default {
15711571
{
15721572
name: 'c arithmetic',
15731573
scope: [
1574-
'keyword.operator.arithmetic.c','keyword.operator.arithmetic.cpp'
1574+
'keyword.operator.arithmetic.c',
1575+
'keyword.operator.arithmetic.cpp',
15751576
],
15761577
settings: {
15771578
foreground: colorType.purple,
@@ -2032,6 +2033,23 @@ export default {
20322033
foreground: colorType.coral,
20332034
},
20342035
},
2036+
{
2037+
scope: [
2038+
'support.class.math.block.environment.latex',
2039+
'constant.other.general.math.tex',
2040+
],
2041+
settings: {
2042+
foreground: colorType.malibu,
2043+
},
2044+
},
2045+
{
2046+
scope:[
2047+
"constant.character.math.tex"
2048+
],
2049+
settings: {
2050+
foreground: colorType.green,
2051+
},
2052+
}
20352053
],
20362054
bold: [
20372055
{

themes/OneDark-Pro-darker.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,23 @@
20882088
"settings": {
20892089
"foreground": "#e06c75"
20902090
}
2091+
},
2092+
{
2093+
"scope": [
2094+
"support.class.math.block.environment.latex",
2095+
"constant.other.general.math.tex"
2096+
],
2097+
"settings": {
2098+
"foreground": "#61afef"
2099+
}
2100+
},
2101+
{
2102+
"scope": [
2103+
"constant.character.math.tex"
2104+
],
2105+
"settings": {
2106+
"foreground": "#98c379"
2107+
}
20912108
}
20922109
],
20932110
"colors": {

themes/OneDark-Pro-flat.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,23 @@
20922092
"foreground": "#e06c75"
20932093
}
20942094
},
2095+
{
2096+
"scope": [
2097+
"support.class.math.block.environment.latex",
2098+
"constant.other.general.math.tex"
2099+
],
2100+
"settings": {
2101+
"foreground": "#61afef"
2102+
}
2103+
},
2104+
{
2105+
"scope": [
2106+
"constant.character.math.tex"
2107+
],
2108+
"settings": {
2109+
"foreground": "#98c379"
2110+
}
2111+
},
20952112
{
20962113
"name": "Markup: Strong",
20972114
"scope": "markup.bold",

themes/OneDark-Pro-mix.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,23 @@
20922092
"foreground": "#e06c75"
20932093
}
20942094
},
2095+
{
2096+
"scope": [
2097+
"support.class.math.block.environment.latex",
2098+
"constant.other.general.math.tex"
2099+
],
2100+
"settings": {
2101+
"foreground": "#61afef"
2102+
}
2103+
},
2104+
{
2105+
"scope": [
2106+
"constant.character.math.tex"
2107+
],
2108+
"settings": {
2109+
"foreground": "#98c379"
2110+
}
2111+
},
20952112
{
20962113
"name": "Markup: Strong",
20972114
"scope": "markup.bold",

themes/OneDark-Pro.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,23 @@
20902090
"foreground": "#e06c75"
20912091
}
20922092
},
2093+
{
2094+
"scope": [
2095+
"support.class.math.block.environment.latex",
2096+
"constant.other.general.math.tex"
2097+
],
2098+
"settings": {
2099+
"foreground": "#61afef"
2100+
}
2101+
},
2102+
{
2103+
"scope": [
2104+
"constant.character.math.tex"
2105+
],
2106+
"settings": {
2107+
"foreground": "#98c379"
2108+
}
2109+
},
20932110
{
20942111
"name": "js/ts italic",
20952112
"scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super",

0 commit comments

Comments
 (0)