From e1ed52fee84fbffd429e4a6dce331333cc78be44 Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Thu, 26 Jan 2023 12:19:20 -0700 Subject: [PATCH] fix: remove highlight for `source`. fix #18 --- src/theme.ts | 2 +- themes/vitesse-black.json | 4 ++-- themes/vitesse-dark-soft.json | 4 ++-- themes/vitesse-dark.json | 4 ++-- themes/vitesse-light-soft.json | 4 ++-- themes/vitesse-light.json | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/theme.ts b/src/theme.ts index 47b62c7..cff9817 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -491,7 +491,7 @@ export default function getTheme({ style, name, soft = false, black = false }) { }, }, { - scope: 'string source', + scope: 'string', settings: { foreground, }, diff --git a/themes/vitesse-black.json b/themes/vitesse-black.json index 5a35ea4..08a56fc 100644 --- a/themes/vitesse-black.json +++ b/themes/vitesse-black.json @@ -423,7 +423,7 @@ } }, { - "scope": "string source", + "scope": "string", "settings": { "foreground": "#dbd7caee" } @@ -936,7 +936,7 @@ "foreground": "fdaeb7" }, { - "token": "string source", + "token": "string", "foreground": "dbd7caee" }, { diff --git a/themes/vitesse-dark-soft.json b/themes/vitesse-dark-soft.json index 18d62e5..a1aaef6 100644 --- a/themes/vitesse-dark-soft.json +++ b/themes/vitesse-dark-soft.json @@ -423,7 +423,7 @@ } }, { - "scope": "string source", + "scope": "string", "settings": { "foreground": "#dbd7caee" } @@ -936,7 +936,7 @@ "foreground": "fdaeb7" }, { - "token": "string source", + "token": "string", "foreground": "dbd7caee" }, { diff --git a/themes/vitesse-dark.json b/themes/vitesse-dark.json index b66c77f..7090ca4 100644 --- a/themes/vitesse-dark.json +++ b/themes/vitesse-dark.json @@ -423,7 +423,7 @@ } }, { - "scope": "string source", + "scope": "string", "settings": { "foreground": "#dbd7caee" } @@ -936,7 +936,7 @@ "foreground": "fdaeb7" }, { - "token": "string source", + "token": "string", "foreground": "dbd7caee" }, { diff --git a/themes/vitesse-light-soft.json b/themes/vitesse-light-soft.json index db1c87f..ddcd63a 100644 --- a/themes/vitesse-light-soft.json +++ b/themes/vitesse-light-soft.json @@ -421,7 +421,7 @@ } }, { - "scope": "string source", + "scope": "string", "settings": { "foreground": "#393a34" } @@ -934,7 +934,7 @@ "foreground": "b31d28" }, { - "token": "string source", + "token": "string", "foreground": "393a34" }, { diff --git a/themes/vitesse-light.json b/themes/vitesse-light.json index 97c8b04..91e7ff4 100644 --- a/themes/vitesse-light.json +++ b/themes/vitesse-light.json @@ -421,7 +421,7 @@ } }, { - "scope": "string source", + "scope": "string", "settings": { "foreground": "#393a34" } @@ -934,7 +934,7 @@ "foreground": "b31d28" }, { - "token": "string source", + "token": "string", "foreground": "393a34" }, {