Skip to content

Commit 4d86aba

Browse files
Merge pull request #35 from webdevnerdstuff/dev
Adding tsx scopes to match ts scopes better
2 parents 8a66506 + d0198e5 commit 4d86aba

File tree

3 files changed

+46
-9
lines changed

3 files changed

+46
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the `neon-bunny` theme will be documented in this file.
44

5+
## v1.0.4
6+
2023-05-13
7+
* Adding in tsx syntax highlighting to match typescript syntax better
8+
59
## v1.0.0
610
2023-05-07
711
* Adding in typescript syntax highlighting

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "neon-bunny",
33
"displayName": "Neon Bunny Theme",
44
"description": "Neon Bunny is a dark (and light) theme for Visual Studio Code even a bunny could love.",
5-
"version": "1.0.3",
5+
"version": "1.0.4",
66
"publisher": "webdevnerdstuff",
77
"author": {
88
"name": "WebDevNerdStuff",

themes/neon-bunny-theme.json

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,8 @@
14381438
"name": "VUE - Meta Import Punctuation Definition Block",
14391439
"scope": [
14401440
"source.vue meta.import punctuation.definition.block",
1441-
"source.ts meta.import punctuation.definition.block"
1441+
"source.ts meta.import punctuation.definition.block",
1442+
"source.tsx meta.import punctuation.definition.block"
14421443
],
14431444
"settings": {
14441445
"foreground": "#f50aff"
@@ -1547,7 +1548,8 @@
15471548
{
15481549
"name": "TypeScript - String Quoted Double",
15491550
"scope": [
1550-
"source.ts string.quoted.double.ts"
1551+
"source.ts string.quoted.double.ts",
1552+
"source.tsx string.quoted.double.tsx"
15511553
],
15521554
"settings": {
15531555
"foreground": "#ffb46a"
@@ -1556,7 +1558,8 @@
15561558
{
15571559
"name": "TypeScript - Entity Name Type Instance JSDoc",
15581560
"scope": [
1559-
"source.ts entity.name.type.instance.jsdoc"
1561+
"source.ts entity.name.type.instance.jsdoc",
1562+
"source.tsx entity.name.type.instance.jsdoc"
15601563
],
15611564
"settings": {
15621565
"foreground": "#8f0b51"
@@ -1574,7 +1577,8 @@
15741577
{
15751578
"name": "TypeScript - Keyword Operator Expression Keyof",
15761579
"scope": [
1577-
"source.ts keyword.operator.expression.keyof.ts"
1580+
"source.ts keyword.operator.expression.keyof.ts",
1581+
"source.tsx keyword.operator.expression.keyof.tsx"
15781582
],
15791583
"settings": {
15801584
"foreground": "#276aff"
@@ -1587,7 +1591,12 @@
15871591
"source.ts entity.name.type.interface.ts",
15881592
"source.ts entity.name.type.ts",
15891593
"source.ts meta.interface.ts entity.other.inherited-class.ts",
1590-
"source.ts meta.class.ts entity.name.type.class.ts"
1594+
"source.tsx meta.class.ts entity.name.type.class.ts",
1595+
"source.tsx entity.name.type.alias.tsx",
1596+
"source.tsx entity.name.type.interface.tsx",
1597+
"source.tsx entity.name.type.tsx",
1598+
"source.tsx meta.interface.tsx entity.other.inherited-class.tsx",
1599+
"source.tsx meta.class.tsx entity.name.type.class.tsx"
15911600
],
15921601
"settings": {
15931602
"foreground": "#f50aff"
@@ -1596,7 +1605,8 @@
15961605
{
15971606
"name": "TypeScript - Meta Interface - Entity Other Inherited Class",
15981607
"scope": [
1599-
"source.ts meta.interface.ts entity.other.inherited-class.ts"
1608+
"source.ts meta.interface.ts entity.other.inherited-class.ts",
1609+
"source.tsx meta.interface.tsx entity.other.inherited-class.tsx"
16001610
],
16011611
"settings": {
16021612
"fontStyle": "italic"
@@ -1605,7 +1615,8 @@
16051615
{
16061616
"name": "TypeScript - Meta Type Declaration - String Quoted Double",
16071617
"scope": [
1608-
"source.ts meta.type.declaration string.quoted.double.ts"
1618+
"source.ts meta.type.declaration string.quoted.double.ts",
1619+
"source.tsx meta.type.declaration string.quoted.double.tsx"
16091620
],
16101621
"settings": {
16111622
"fontStyle": "italic",
@@ -1617,6 +1628,8 @@
16171628
"scope": [
16181629
"source.ts support.type.builtin.ts",
16191630
"source.ts support.type.primitive.ts",
1631+
"source.tsx support.type.builtin.tsx",
1632+
"source.tsx support.type.primitive.tsx",
16201633
"source.vue source.ts meta.var.expr.ts support.type.builtin.ts",
16211634
"source.vue source.ts meta.var.expr.ts support.type.primitive.ts"
16221635
],
@@ -1628,12 +1641,32 @@
16281641
"name": "TypeScript - Punctuation Definition Type Parameters Begin / End",
16291642
"scope": [
16301643
"source.ts punctuation.definition.typeparameters.begin.ts",
1631-
"source.ts punctuation.definition.typeparameters.end.ts"
1644+
"source.ts punctuation.definition.typeparameters.end.ts",
1645+
"source.tsx punctuation.definition.typeparameters.begin.tsx",
1646+
"source.tsx punctuation.definition.typeparameters.end.tsx"
1647+
],
1648+
"settings": {
1649+
"foreground": "#2492ff"
1650+
}
1651+
},
1652+
{
1653+
"name": "TSX - Support Class Component",
1654+
"scope": [
1655+
"source.tsx support.class.component.tsx"
16321656
],
16331657
"settings": {
16341658
"foreground": "#2492ff"
16351659
}
16361660
},
1661+
{
1662+
"name": "TSX - Entity Other Attribute Name",
1663+
"scope": [
1664+
"source.tsx entity.other.attribute-name.tsx"
1665+
],
1666+
"settings": {
1667+
"foreground": "#00D205"
1668+
}
1669+
},
16371670
{
16381671
"name": "Dart - Source Class",
16391672
"scope": [

0 commit comments

Comments
 (0)