Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
WIP
Nate Butler25c8b19dfb4f
diff --git a/crates/theme2/src/default_colors.rs b/crates/theme2/src/default_colors.rsindex 2b3fc5ada11..92e38ed39e6 100644--- a/crates/theme2/src/default_colors.rs+++ b/crates/theme2/src/default_colors.rs@@ -102,7 +102,7 @@ impl PlayerColors {}fn neutral() -> ColorScaleSet {- olive()+ slate()}impl Default for SystemColors {@@ -198,28 +198,28 @@ impl SyntaxTheme {pub fn default_dark() -> Self {Self {highlights: vec![- ("attribute".into(), cyan().dark().step_11().into()),+ ("attribute".into(), tomato().dark().step_11().into()),("boolean".into(), tomato().dark().step_11().into()),("comment".into(), neutral().dark().step_11().into()),("comment.doc".into(), iris().dark().step_12().into()),- ("constant".into(), red().dark().step_9().into()),- ("constructor".into(), red().dark().step_9().into()),- ("embedded".into(), red().dark().step_9().into()),- ("emphasis".into(), red().dark().step_9().into()),- ("emphasis.strong".into(), red().dark().step_9().into()),- ("enum".into(), red().dark().step_9().into()),- ("function".into(), red().dark().step_9().into()),- ("hint".into(), red().dark().step_9().into()),- ("keyword".into(), orange().dark().step_11().into()),- ("label".into(), red().dark().step_9().into()),- ("link_text".into(), red().dark().step_9().into()),- ("link_uri".into(), red().dark().step_9().into()),- ("number".into(), red().dark().step_9().into()),- ("operator".into(), red().dark().step_9().into()),- ("predictive".into(), red().dark().step_9().into()),- ("preproc".into(), red().dark().step_9().into()),- ("primary".into(), red().dark().step_9().into()),- ("property".into(), red().dark().step_9().into()),+ ("constant".into(), orange().dark().step_11().into()),+ ("constructor".into(), gold().dark().step_11().into()),+ ("embedded".into(), red().dark().step_11().into()),+ ("emphasis".into(), red().dark().step_11().into()),+ ("emphasis.strong".into(), red().dark().step_11().into()),+ ("enum".into(), yellow().dark().step_11().into()),+ ("function".into(), blue().dark().step_11().into()),+ ("hint".into(), indigo().dark().step_11().into()),+ ("keyword".into(), plum().dark().step_11().into()),+ ("label".into(), red().dark().step_11().into()),+ ("link_text".into(), red().dark().step_11().into()),+ ("link_uri".into(), red().dark().step_11().into()),+ ("number".into(), red().dark().step_11().into()),+ ("operator".into(), red().dark().step_11().into()),+ ("predictive".into(), red().dark().step_11().into()),+ ("preproc".into(), red().dark().step_11().into()),+ ("primary".into(), red().dark().step_11().into()),+ ("property".into(), red().dark().step_11().into()),("punctuation".into(), neutral().dark().step_11().into()),("punctuation.bracket".into(),@@ -233,22 +233,25 @@ impl SyntaxTheme {"punctuation.list_marker".into(),blue().dark().step_11().into(),),- ("punctuation.special".into(), red().dark().step_9().into()),- ("string".into(), jade().dark().step_11().into()),- ("string.escape".into(), red().dark().step_9().into()),+ ("punctuation.special".into(), red().dark().step_11().into()),+ ("string".into(), lime().dark().step_11().into()),+ ("string.escape".into(), orange().dark().step_11().into()),("string.regex".into(), tomato().dark().step_11().into()),- ("string.special".into(), red().dark().step_9().into()),- ("string.special.symbol".into(), red().dark().step_9().into()),- ("tag".into(), red().dark().step_9().into()),- ("text.literal".into(), red().dark().step_9().into()),- ("title".into(), red().dark().step_9().into()),- ("type".into(), red().dark().step_9().into()),- ("variable".into(), red().dark().step_9().into()),- ("variable.special".into(), red().dark().step_9().into()),- ("variant".into(), red().dark().step_9().into()),+ ("string.special".into(), red().dark().step_11().into()),+ (+ "string.special.symbol".into(),+ red().dark().step_11().into(),+ ),+ ("tag".into(), red().dark().step_11().into()),+ ("text.literal".into(), purple().dark().step_11().into()),+ ("title".into(), sky().dark().step_11().into()),+ ("type".into(), mint().dark().step_11().into()),+ ("variable".into(), red().dark().step_11().into()),+ ("variable.special".into(), red().dark().step_11().into()),+ ("variant".into(), red().dark().step_11().into()),],- inlay_style: tomato().dark().step_1().into(), // todo!("nate: use a proper style")- suggestion_style: orange().dark().step_1().into(), // todo!("nate: use a proper style")+ inlay_style: neutral().dark().step_11().into(), // todo!("nate: use a proper style")+ suggestion_style: orange().dark().step_11().into(), // todo!("nate: use a proper style")}}}@@ -350,8 +353,8 @@ impl ThemeColors {ghost_element_active: neutral().dark().step_5(),ghost_element_selected: neutral().dark().step_5(),ghost_element_disabled: neutral().dark_alpha().step_3(),- text: green().dark().step_9(),- text_muted: blue().dark().step_9(),+ text: neutral().dark().step_12(),+ text_muted: neutral().dark().step_11(),text_placeholder: neutral().dark().step_10(),text_disabled: neutral().dark().step_9(),text_accent: blue().dark().step_11(),