This commit is contained in:
Max Brunsfeld
2023-11-03 16:40:37 -07:00
parent 2a672e2126
commit 436dc93441
9 changed files with 221 additions and 210 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
use gpui::Hsla;
use gpui::{HighlightStyle, Hsla};
use refineable::Refineable;
use crate::SyntaxTheme;
@@ -117,6 +117,8 @@ pub struct ThemeStyles {
pub git: GitStatusColors,
pub player: PlayerColors,
pub syntax: SyntaxTheme,
pub inlay_highlight_style: HighlightStyle,
pub suggestion_highlight_style: HighlightStyle,
}
#[cfg(test)]
+4
View File
@@ -240,6 +240,8 @@ impl ThemeColors {
editor: neutral().light().step_1(),
editor_subheader: neutral().light().step_2(),
editor_active_line: neutral().light_alpha().step_3(),
editor_line_number: neutral().light_alpha().step_3(), // todo!("pick the right colors")
editor_active_line_number: neutral().light_alpha().step_3(), // todo!("pick the right colors")
}
}
@@ -285,6 +287,8 @@ impl ThemeColors {
editor: neutral().dark().step_1(),
editor_subheader: neutral().dark().step_2(),
editor_active_line: neutral().dark_alpha().step_3(),
editor_line_number: neutral().dark_alpha().step_3(), // todo!("pick the right colors")
editor_active_line_number: neutral().dark_alpha().step_3(), // todo!("pick the right colors")
}
}
}
+4
View File
@@ -15,6 +15,8 @@ fn zed_pro_daylight() -> ThemeVariant {
git: GitStatusColors::default(),
player: PlayerColors::default(),
syntax: SyntaxTheme::default_light(),
inlay_highlight_style: Default::default(),
suggestion_highlight_style: Default::default(),
},
}
}
@@ -31,6 +33,8 @@ pub(crate) fn zed_pro_moonlight() -> ThemeVariant {
git: GitStatusColors::default(),
player: PlayerColors::default(),
syntax: SyntaxTheme::default_dark(),
inlay_highlight_style: Default::default(),
suggestion_highlight_style: Default::default(),
},
}
}