Files
ELY-Browser/crates/ely_design_system/src/spacing.rs
T
ZacharyZhang-NY 483bda5567 Redesign shell with glass morphism and warm clay palette
Update design system: warm clay accent (#c96442), ink scale for text
hierarchy, glass surface tokens with alpha, redesigned spacing/radius
tokens. Restructure shell layout: sidebar and main pane as rounded
glass panels, pill-shaped omnibar inside main pane, workspace tiles,
section labels, profile avatar in sidebar footer.
2026-05-09 15:42:10 -04:00

24 lines
699 B
Rust

pub const XXS: f32 = 4.0;
pub const XS: f32 = 8.0;
pub const SM: f32 = 12.0;
pub const BASE: f32 = 16.0;
pub const MD: f32 = 20.0;
pub const LG: f32 = 24.0;
pub const XL: f32 = 32.0;
pub const XXL: f32 = 48.0;
pub const SIDEBAR_WIDTH: f32 = 256.0;
pub const SIDEBAR_COLLAPSED_WIDTH: f32 = 56.0;
pub const SHELL_INSET: f32 = 16.0;
pub const SIDEBAR_MAIN_GAP: f32 = 12.0;
pub const TOPBAR_HEIGHT: f32 = 54.0;
pub const OMNIBAR_HEIGHT: f32 = 36.0;
pub const COMMAND_BAR_HEIGHT: f32 = 54.0;
pub const RADIUS_CARD: f32 = 18.0;
pub const RADIUS_PANE: f32 = 14.0;
pub const RADIUS_PILL: f32 = 999.0;
pub const RADIUS_NAV: f32 = 8.0;
pub const RADIUS_BUTTON: f32 = 8.0;
pub const RADIUS_INPUT: f32 = 9.0;