Skip to main content

Crate vtcode_design

Crate vtcode_design 

Source
Expand description

Centralized design system for VT Code.

This crate provides a single source of truth for all design system concerns:

  • Color conversion: Unified anstyle to ratatui color mapping
  • Style bridging: Conversion between styling frameworks
  • Design constants: Shared UI constants (ellipses, spacing, breakpoints)
  • Layout: Responsive layout mode logic
  • Panel: Base panel widget primitive
  • Diff formatting: Unified diff rendering with ANSI colors

Modulesยง

color
Unified color conversion between anstyle and ratatui.
constants
Shared design constants: ellipses, layout breakpoints, spacing tokens.
diff
Unified diff formatting with ANSI colors.
layout
Responsive layout mode logic.
panel
Base panel widget primitive.
style
Unified style bridging between anstyle and ratatui.