1//! The prelude of this crate. When building UI in Zed you almost always want to import this.
2
3pub use gpui::prelude::*;
4pub use gpui::{
5 div, px, relative, rems, AbsoluteLength, AnyElement, App, Context, DefiniteLength, Div,
6 Element, ElementId, InteractiveElement, ParentElement, Pixels, Rems, RenderOnce, SharedString,
7 Styled, Window,
8};
9
10pub use component::{example_group, example_group_with_title, single_example, ComponentPreview};
11pub use ui_macros::IntoComponent;
12
13pub use crate::styles::{rems_from_px, vh, vw, PlatformStyle, StyledTypography, TextSize};
14pub use crate::traits::clickable::*;
15pub use crate::traits::disableable::*;
16pub use crate::traits::fixed::*;
17pub use crate::traits::styled_ext::*;
18pub use crate::traits::toggleable::*;
19pub use crate::traits::visible_on_hover::*;
20pub use crate::DynamicSpacing;
21pub use crate::{h_flex, h_group, v_flex, v_group};
22pub use crate::{Button, ButtonSize, ButtonStyle, IconButton, SelectableButton};
23pub use crate::{ButtonCommon, Color};
24pub use crate::{Headline, HeadlineSize};
25pub use crate::{Icon, IconName, IconPosition, IconSize};
26pub use crate::{Label, LabelCommon, LabelSize, LineHeightStyle};
27pub use theme::ActiveTheme;