fix: fixed git handling
This commit is contained in:
@@ -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))),
|
||||
|
||||
Reference in New Issue
Block a user