Skip to repository content36 lines · 1.4 KB · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T02:36:11.428Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
prelude.rs
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 AbsoluteLength, AnyElement, App, Context, DefiniteLength, Div, Element, ElementId,
6 InteractiveElement, ParentElement, Pixels, Rems, RenderOnce, SharedString, Styled, Window, div,
7 px, relative, rems,
8};
9
10pub use component::{
11 Component, ComponentScope, example_group, example_group_with_title, single_example,
12};
13pub use ui_macros::RegisterComponent;
14
15pub use crate::DynamicSpacing;
16pub use crate::animation::{AnimationDirection, AnimationDuration, DefaultAnimations};
17pub use crate::styles::{
18 PlatformStyle, Severity, StyledTypography, TextSize, rems_from_px, vh, vw,
19};
20pub use crate::traits::clickable::*;
21pub use crate::traits::disableable::*;
22pub use crate::traits::fixed::*;
23pub use crate::traits::styled_ext::*;
24pub use crate::traits::toggleable::*;
25pub use crate::traits::visible_on_hover::*;
26pub use crate::{Button, ButtonSize, ButtonStyle, IconButton, SelectableButton};
27pub use crate::{ButtonCommon, Color};
28pub use crate::{Headline, HeadlineSize};
29pub use crate::{Icon, IconName, IconPosition, IconSize};
30pub use crate::{Label, LabelCommon, LabelSize, LineHeightStyle, LoadingLabel};
31pub use crate::{h_flex, v_flex};
32pub use crate::{
33 h_group, h_group_lg, h_group_sm, h_group_xl, v_group, v_group_lg, v_group_sm, v_group_xl,
34};
35pub use theme::ActiveTheme;
36