Use IndexMap for a deterministic order when importing syntax colors

This commit is contained in:
Marshall Bowers 2023-11-09 13:12:36 -05:00
parent 1f0fccc353
commit 978cff8095
15 changed files with 143 additions and 143 deletions

View file

@ -62,9 +62,9 @@ pub fn andromeda() -> UserThemeFamily {
syntax: Some(UserSyntaxTheme {
highlights: vec![
(
"punctuation".into(),
"comment".into(),
UserHighlightStyle {
color: Some(rgba(0x95e072ff).into()),
color: Some(rgba(0x9fa0a6cc).into()),
..Default::default()
},
),
@ -76,9 +76,9 @@ pub fn andromeda() -> UserThemeFamily {
},
),
(
"comment".into(),
"punctuation".into(),
UserHighlightStyle {
color: Some(rgba(0x9fa0a6cc).into()),
color: Some(rgba(0x95e072ff).into()),
..Default::default()
},
),
@ -135,9 +135,9 @@ pub fn andromeda() -> UserThemeFamily {
syntax: Some(UserSyntaxTheme {
highlights: vec![
(
"punctuation".into(),
"comment".into(),
UserHighlightStyle {
color: Some(rgba(0x95e072ff).into()),
color: Some(rgba(0x9fa0a6cc).into()),
..Default::default()
},
),
@ -149,9 +149,9 @@ pub fn andromeda() -> UserThemeFamily {
},
),
(
"comment".into(),
"punctuation".into(),
UserHighlightStyle {
color: Some(rgba(0x9fa0a6cc).into()),
color: Some(rgba(0x95e072ff).into()),
..Default::default()
},
),