fix: fixed git handling

This commit is contained in:
Georg Bauer
2026-07-28 21:11:46 +02:00
parent 9b5b3a2f6a
commit dbccaf7088
6 changed files with 86 additions and 51 deletions

View File

@@ -1012,6 +1012,14 @@ fn danger_button_style(theme: &Theme, status: button::Status) -> button::Style {
style
}
fn stop_button_style(theme: &Theme, status: button::Status) -> button::Style {
let mut style = action_button_style(theme, status);
if matches!(status, button::Status::Hovered | button::Status::Pressed) {
style.text_color = theme.palette().danger;
}
style
}
fn segmented_control_style(_: &Theme) -> container::Style {
container::Style {
background: Some(Background::Color(Color::from_rgb8(24, 24, 26))),