Fix function colors in Gruvbox themes

This commit is contained in:
Marshall Bowers 2023-12-08 16:04:58 -05:00
parent 4353bdb9d5
commit 2ef3954700
2 changed files with 11 additions and 7 deletions

View File

@ -124,7 +124,7 @@ pub fn gruvbox() -> UserThemeFamily {
(
"function".into(),
UserHighlightStyle {
color: Some(rgba(0xfabd2fff).into()),
color: Some(rgba(0x8ec07cff).into()),
..Default::default()
},
),
@ -410,7 +410,7 @@ pub fn gruvbox() -> UserThemeFamily {
(
"function".into(),
UserHighlightStyle {
color: Some(rgba(0xfabd2fff).into()),
color: Some(rgba(0x8ec07cff).into()),
..Default::default()
},
),
@ -696,7 +696,7 @@ pub fn gruvbox() -> UserThemeFamily {
(
"function".into(),
UserHighlightStyle {
color: Some(rgba(0xfabd2fff).into()),
color: Some(rgba(0x8ec07cff).into()),
..Default::default()
},
),
@ -982,7 +982,7 @@ pub fn gruvbox() -> UserThemeFamily {
(
"function".into(),
UserHighlightStyle {
color: Some(rgba(0xb57614ff).into()),
color: Some(rgba(0x427b58ff).into()),
..Default::default()
},
),
@ -1268,7 +1268,7 @@ pub fn gruvbox() -> UserThemeFamily {
(
"function".into(),
UserHighlightStyle {
color: Some(rgba(0xb57614ff).into()),
color: Some(rgba(0x427b58ff).into()),
..Default::default()
},
),
@ -1554,7 +1554,7 @@ pub fn gruvbox() -> UserThemeFamily {
(
"function".into(),
UserHighlightStyle {
color: Some(rgba(0xb57614ff).into()),
color: Some(rgba(0x427b58ff).into()),
..Default::default()
},
),

View File

@ -202,7 +202,11 @@ impl ZedSyntaxToken {
"markup.bold markup.italic",
],
ZedSyntaxToken::Enum => vec!["support.type.enum"],
ZedSyntaxToken::Function => vec!["entity.name.function", "variable.function"],
ZedSyntaxToken::Function => vec![
"entity.function",
"entity.name.function",
"variable.function",
],
ZedSyntaxToken::Hint => vec![],
ZedSyntaxToken::Keyword => vec![
"keyword",