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

@ -2625,8 +2625,8 @@ impl ContextEditor {
.px_1()
.mr_0p5()
.border_1()
.border_color(theme::color_alpha(colors.border_variant, 0.6))
.bg(theme::color_alpha(colors.element_background, 0.6))
.border_color(colors.border_variant.opacity(0.6))
.bg(colors.element_background.opacity(0.6))
.child("esc"),
)
.child("to cancel")