mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 08:31:04 +00:00
23 lines
899 B
Rust
23 lines
899 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, ElementContext,
|
|
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::{vh, vw};
|
|
pub use crate::visible_on_hover::*;
|
|
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;
|