Revert "remove usages of theme::color_alpha"

This reverts commit c0d11be75f.
This commit is contained in:
Nate Butler 2024-11-19 00:24:48 -05:00
parent c0d11be75f
commit a35b73e63e
4 changed files with 16 additions and 5 deletions

View file

@ -52,7 +52,10 @@ impl RenderOnce for ExtensionCard {
.size_full()
.items_center()
.justify_center()
.bg(cx.theme().colors().elevated_surface_background.opacity(0.8))
.bg(theme::color_alpha(
cx.theme().colors().elevated_surface_background,
0.8,
))
.child(Label::new("Overridden by dev extension.")),
)
}),