Fix the disabled style of ghost button (#144)
This commit is contained in:
parent
3550b1ee13
commit
c9a1bba3c2
1 changed files with 3 additions and 1 deletions
|
|
@ -536,7 +536,9 @@ impl ButtonStyle {
|
|||
_ => cx.theme().secondary.darken(0.2).grayscale(),
|
||||
};
|
||||
let fg = match self {
|
||||
ButtonStyle::Link | ButtonStyle::Text => cx.theme().link.grayscale(),
|
||||
ButtonStyle::Link | ButtonStyle::Text | ButtonStyle::Ghost => {
|
||||
cx.theme().link.grayscale()
|
||||
}
|
||||
_ => cx.theme().secondary_foreground.darken(0.2).grayscale(),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue