Don't match `support.function` for `function`

Marshall Bowers created

Change summary

crates/theme2/src/themes/ayu.rs            | 6 +++---
crates/theme_importer/src/vscode/syntax.rs | 6 +-----
2 files changed, 4 insertions(+), 8 deletions(-)

Detailed changes

crates/theme2/src/themes/ayu.rs 🔗

@@ -134,7 +134,7 @@ pub fn ayu() -> UserThemeFamily {
                             (
                                 "function".into(),
                                 UserHighlightStyle {
-                                    color: Some(rgba(0xf07171ff).into()),
+                                    color: Some(rgba(0xf2ae49ff).into()),
                                     ..Default::default()
                                 },
                             ),
@@ -409,7 +409,7 @@ pub fn ayu() -> UserThemeFamily {
                             (
                                 "function".into(),
                                 UserHighlightStyle {
-                                    color: Some(rgba(0xf28779ff).into()),
+                                    color: Some(rgba(0xffd173ff).into()),
                                     ..Default::default()
                                 },
                             ),
@@ -684,7 +684,7 @@ pub fn ayu() -> UserThemeFamily {
                             (
                                 "function".into(),
                                 UserHighlightStyle {
-                                    color: Some(rgba(0xf07178ff).into()),
+                                    color: Some(rgba(0xffb454ff).into()),
                                     ..Default::default()
                                 },
                             ),

crates/theme_importer/src/vscode/syntax.rs 🔗

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