Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Extend ui prelude

Nate Butlercf971f706cbe
diff --git a/crates/ui2/src/prelude.rs b/crates/ui2/src/prelude.rs
index 38065b62754..0392fe80ee5 100644
--- a/crates/ui2/src/prelude.rs
+++ b/crates/ui2/src/prelude.rs
@@ -1,7 +1,8 @@
pub use gpui::prelude::*;
pub use gpui::{
- div, Element, ElementId, InteractiveElement, ParentElement, RenderOnce, SharedString, Styled,
- ViewContext, WindowContext,
+ div, px, relative, rems, AbsoluteLength, DefiniteLength, Div, Element, ElementId,
+ InteractiveElement, ParentElement, Pixels, Rems, RenderOnce, SharedString, Styled, ViewContext,
+ WindowContext,
};
pub use crate::clickable::*;
@@ -9,5 +10,8 @@ pub use crate::disableable::*;
pub use crate::fixed::*;
pub use crate::selectable::*;
pub use crate::{h_stack, v_stack};
+pub use crate::{Button, ButtonSize, ButtonStyle, IconButton};
pub use crate::{ButtonCommon, Color, StyledExt};
+pub use crate::{Icon, IconElement, IconSize};
+pub use crate::{Label, LabelSize, LineHeightStyle};
pub use theme::ActiveTheme;