This commit is contained in:
Conrad Irwin 2023-11-16 19:50:31 -07:00
parent 547888942f
commit 9547e88d88
3 changed files with 8 additions and 7 deletions

View file

@ -5,6 +5,7 @@ use crate::{ElevationIndex, UITextSize};
fn elevated<E: Styled, V: 'static>(this: E, cx: &mut ViewContext<V>, index: ElevationIndex) -> E {
this.bg(cx.theme().colors().elevated_surface_background)
.z_index(index.z_index())
.rounded_lg()
.border()
.border_color(cx.theme().colors().border_variant)