WIP2000
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user