diff --git a/crates/ui/src/button.rs b/crates/ui/src/button.rs index b75acc5e..3603e9cb 100644 --- a/crates/ui/src/button.rs +++ b/crates/ui/src/button.rs @@ -592,6 +592,8 @@ impl ButtonStyle { fn disabled(&self, cx: &WindowContext) -> ButtonStyles { let bg = match self { ButtonStyle::Link | ButtonStyle::Ghost | ButtonStyle::Text => cx.theme().transparent, + ButtonStyle::Primary => cx.theme().primary.opacity(0.15), + ButtonStyle::Danger => cx.theme().destructive.opacity(0.15), _ => cx.theme().secondary.darken(0.2).grayscale(), }; let fg = match self {