Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
bezel
A gpui component library with a SwiftUI-shaped architecture: style flows through the environment, never through parameters.
-
crates/theme— the design tokens. One flatThemestruct installed as a gpuiGlobal(the@Environmentanalog), read viaTheme::of(cx)at paint time. Designed light + dark palettes with WCAG-verified contrast pairing, oklch color math, and system appearance switching (theme::appearance). -
crates/motion— the animation vocabulary. Exact CSScubic-bezierevaluation, a namedMotionSpeccatalog (FADE_IN,MENU_IN,PULSE, …), a shared 30fps pulse clock for loaders, and a hover-fade system. The pure phase math lives inmotion::phase. -
crates/ui— the components. Popover/menu/dialog mounts, buttons,toggle,divider,group_box, spinners, embedded SVG icons, and thematerialfloat (SwiftUI's.ultraThinMaterialanalog; true per-card backdrop blur awaits a renderer primitive on our gpui fork). -
apps/gallery— every component rendered in a real window (cargo run -p gallery).
gpui comes from crabtalk/zed, our fork of zed (gpui's home repo), pinned by rev. The crates.io gpui release is months behind the API this code targets, so a git pin is required; the fork also hosts any gpui patches we carry.
Provenance & licenses
The initial components were extracted from zeronsh/comet (MIT). Bundled assets: Solar Icons by 480 Design (CC BY 4.0), Geist and Geist Mono © Vercel Inc. (SIL Open Font License 1.1).