Skip to content

Commit

Permalink
feat: popup js template-exp punctuation color
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 23, 2024
1 parent 37f36fa commit e20b621
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 deletions.
1 change: 1 addition & 0 deletions scripts/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ export default function getTheme(options: GetThemeOptions) {
scope: [
'keyword',
'storage.type.class.jsdoc',
'punctuation.definition.template-expression',
],
settings: {
foreground: v('keyword'),
Expand Down
7 changes: 6 additions & 1 deletion themes/vitesse-black.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
{
"scope": [
"keyword",
"storage.type.class.jsdoc"
"storage.type.class.jsdoc",
"punctuation.definition.template-expression"
],
"settings": {
"foreground": "#4d9375"
Expand Down Expand Up @@ -829,6 +830,10 @@
"token": "storage.type.class.jsdoc",
"foreground": "4d9375"
},
{
"token": "punctuation.definition.template-expression",
"foreground": "4d9375"
},
{
"token": "storage",
"foreground": "cb7676"
Expand Down
7 changes: 6 additions & 1 deletion themes/vitesse-dark-soft.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
{
"scope": [
"keyword",
"storage.type.class.jsdoc"
"storage.type.class.jsdoc",
"punctuation.definition.template-expression"
],
"settings": {
"foreground": "#4d9375"
Expand Down Expand Up @@ -829,6 +830,10 @@
"token": "storage.type.class.jsdoc",
"foreground": "4d9375"
},
{
"token": "punctuation.definition.template-expression",
"foreground": "4d9375"
},
{
"token": "storage",
"foreground": "cb7676"
Expand Down
7 changes: 6 additions & 1 deletion themes/vitesse-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
{
"scope": [
"keyword",
"storage.type.class.jsdoc"
"storage.type.class.jsdoc",
"punctuation.definition.template-expression"
],
"settings": {
"foreground": "#4d9375"
Expand Down Expand Up @@ -829,6 +830,10 @@
"token": "storage.type.class.jsdoc",
"foreground": "4d9375"
},
{
"token": "punctuation.definition.template-expression",
"foreground": "4d9375"
},
{
"token": "storage",
"foreground": "cb7676"
Expand Down
7 changes: 6 additions & 1 deletion themes/vitesse-light-soft.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@
{
"scope": [
"keyword",
"storage.type.class.jsdoc"
"storage.type.class.jsdoc",
"punctuation.definition.template-expression"
],
"settings": {
"foreground": "#1e754f"
Expand Down Expand Up @@ -827,6 +828,10 @@
"token": "storage.type.class.jsdoc",
"foreground": "1e754f"
},
{
"token": "punctuation.definition.template-expression",
"foreground": "1e754f"
},
{
"token": "storage",
"foreground": "ab5959"
Expand Down
7 changes: 6 additions & 1 deletion themes/vitesse-light.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@
{
"scope": [
"keyword",
"storage.type.class.jsdoc"
"storage.type.class.jsdoc",
"punctuation.definition.template-expression"
],
"settings": {
"foreground": "#1e754f"
Expand Down Expand Up @@ -827,6 +828,10 @@
"token": "storage.type.class.jsdoc",
"foreground": "1e754f"
},
{
"token": "punctuation.definition.template-expression",
"foreground": "1e754f"
},
{
"token": "storage",
"foreground": "ab5959"
Expand Down

0 comments on commit e20b621

Please sign in to comment.