Add support for theme family-specific syntax mapping overrides (#3551)
This PR adds support for adding a specific set of mappings from Zed syntax tokens to VS Code scopes for a particular theme family. We can use this as a fallback when we aren't otherwise able to rely on the mappings in the theme importer, as sometimes it isn't possible to make a specific enough matcher that works across all of the themes. Release Notes: - N/A
This commit is contained in:
@@ -106,7 +106,7 @@ pub fn rose_pine() -> UserThemeFamily {
|
||||
(
|
||||
"function".into(),
|
||||
UserHighlightStyle {
|
||||
color: Some(rgba(0xe0def4ff).into()),
|
||||
color: Some(rgba(0xebbcbaff).into()),
|
||||
..Default::default()
|
||||
},
|
||||
),
|
||||
@@ -283,7 +283,7 @@ pub fn rose_pine() -> UserThemeFamily {
|
||||
(
|
||||
"function".into(),
|
||||
UserHighlightStyle {
|
||||
color: Some(rgba(0xe0def4ff).into()),
|
||||
color: Some(rgba(0xea9a97ff).into()),
|
||||
..Default::default()
|
||||
},
|
||||
),
|
||||
@@ -460,7 +460,7 @@ pub fn rose_pine() -> UserThemeFamily {
|
||||
(
|
||||
"function".into(),
|
||||
UserHighlightStyle {
|
||||
color: Some(rgba(0x575279ff).into()),
|
||||
color: Some(rgba(0xd7827eff).into()),
|
||||
..Default::default()
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user