From db35d8c3d8f926d8ba129890f5f515314d9ad91e Mon Sep 17 00:00:00 2001 From: Lengyue57 <61723363+Lengyue57@users.noreply.github.com> Date: Tue, 16 Apr 2024 13:26:04 +0800 Subject: [PATCH] Adjust css highlight --- src/theme.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/theme.js b/src/theme.js index 20a3ca3..dec0e2e 100644 --- a/src/theme.js +++ b/src/theme.js @@ -382,7 +382,10 @@ function getTheme({ theme, name }) { }, }, { - "scope": "entity.name.function", + "scope": [ + "entity.name.function", + "support.function", + ], "settings": { foreground: lightDark(scale.purple[5], scale.purple[2]) } @@ -692,6 +695,22 @@ function getTheme({ theme, name }) { foreground: lightDark(scale.blue[8], scale.blue[1]), }, }, + { + scope: [ + "support.constant.property-value.css", + "constant.other.color.rgb-value", + "support.constant.color", + ], + settings: { + foreground: color.fg.default, + }, + }, + { + scope: ["entity.name.tag.wildcard"], + settings: { + foreground: lightDark(scale.blue[6], scale.blue[2]), + }, + }, ], }; }