Skip to main content

vtcode_ui/design/
mod.rs

1//! Centralized design system for VT Code.
2//!
3//! This crate provides a single source of truth for all design system concerns:
4//! - **Color conversion**: Unified `anstyle` to `ratatui` color mapping
5//! - **Style bridging**: Conversion between styling frameworks
6//! - **Design constants**: Shared UI constants (ellipses, spacing, breakpoints)
7//! - **Layout**: Responsive layout mode logic
8//! - **Panel**: Base panel widget primitive
9//! - **Diff formatting**: Unified diff rendering with ANSI colors
10//! - **List rows**: Canonical modal/command row builders ([`list`])
11//! - **Keyboard copy**: Shared interaction hints ([`keys`])
12
13pub(crate) mod color;
14pub mod constants;
15pub mod diff;
16pub mod keys;
17pub mod layout;
18pub mod list;
19pub mod panel;
20pub(crate) mod style;