theme: fix disabled button

This commit is contained in:
Ashley Wulber 2025-08-26 15:13:15 -04:00 committed by Jeremy Soller
parent 6f1fe2a28b
commit 94ee4e1915
2 changed files with 6 additions and 12 deletions

View file

@ -194,8 +194,8 @@ impl Component {
focus: accent,
divider: if is_high_contrast { on_50 } else { on_20 },
on: on_component,
disabled: over(base_50, base),
on_disabled: over(on_50, base),
disabled: base_50,
on_disabled: on_50,
border,
disabled_border,
}