TEMP
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::{h_stack, prelude::*, ListItemVariant};
|
||||
use crate::{prelude::*, ListItemVariant};
|
||||
use crate::{v_stack, Label, List, ListEntry, ListItem, ListSeparator, ListSubHeader};
|
||||
use gpui::{
|
||||
overlay, px, Action, AnyElement, Bounds, DispatchPhase, Div, EventEmitter, FocusHandle,
|
||||
Focusable, FocusableView, LayoutId, MouseButton, MouseDownEvent, Overlay, Render, View,
|
||||
overlay, px, Action, AnyElement, Bounds, DispatchPhase, EventEmitter, FocusHandle,
|
||||
FocusableView, LayoutId, MouseButton, MouseDownEvent, Overlay, Render, View,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user