Skip to content

Commit

Permalink
Adjust css highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
Lengyue57 committed Apr 16, 2024
1 parent 38b50d4 commit db35d8c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down Expand Up @@ -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]),
},
},
],
};
}
Expand Down

0 comments on commit db35d8c

Please sign in to comment.