remove usages of theme::color_alpha

This commit is contained in:
Nate Butler 2024-11-19 00:24:37 -05:00
parent 0e26d22fea
commit c0d11be75f
4 changed files with 5 additions and 16 deletions

View file

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