23 lines
964 B
Rust
23 lines
964 B
Rust
//! The prelude of this crate. When building UI in Zed you almost always want to import this.
|
|
|
|
pub use gpui::prelude::*;
|
|
pub use gpui::{
|
|
div, px, relative, rems, AbsoluteLength, DefiniteLength, Div, Element, ElementId,
|
|
InteractiveElement, ParentElement, Pixels, Rems, RenderOnce, SharedString, Styled, ViewContext,
|
|
WindowContext,
|
|
};
|
|
|
|
pub use crate::clickable::*;
|
|
pub use crate::disableable::*;
|
|
pub use crate::fixed::*;
|
|
pub use crate::selectable::*;
|
|
pub use crate::styles::{rems_from_px, vh, vw, PlatformStyle, StyledTypography, TextSize};
|
|
pub use crate::visible_on_hover::*;
|
|
pub use crate::Spacing;
|
|
pub use crate::{h_flex, v_flex};
|
|
pub use crate::{Button, ButtonSize, ButtonStyle, IconButton, SelectableButton};
|
|
pub use crate::{ButtonCommon, Color, StyledExt};
|
|
pub use crate::{Headline, HeadlineSize};
|
|
pub use crate::{Icon, IconName, IconPosition, IconSize};
|
|
pub use crate::{Label, LabelCommon, LabelSize, LineHeightStyle};
|
|
pub use theme::ActiveTheme;
|