Expand description
Shared design constants: ellipses, layout breakpoints, spacing tokens.
These constants are the single source of truth for UI values that were previously scattered across multiple crates.
Constantsยง
- COMPACT_
MAX_ COLS - Maximum column width for compact layout mode.
- COMPACT_
MAX_ ROWS - Maximum row height for compact layout mode.
- ELLIPSIS
- Unicode ellipsis character as a string (
\u{2026}). - ELLIPSIS_
ASCII - Three-dot ASCII fallback ellipsis.
- ELLIPSIS_
CHAR - Unicode ellipsis character.
- INLINE_
PREVIEW_ ELLIPSIS - Alias used by preview contexts. Delegates to
ELLIPSIS. - SPACING_
LOOSE - Loose spacing (4 cells).
- SPACING_
NORMAL - Normal spacing (2 cells).
- SPACING_
TIGHT - Tight spacing (1 cell).
- WIDE_
MIN_ COLS - Minimum column width for wide layout mode.
- WIDE_
MIN_ ROWS - Minimum row height for wide layout mode.