Skip to main content

vtcode_ui/
lib.rs

1//! Unified UI crate for VT Code: design system, theme registry, and TUI framework.
2//!
3//! # Module layout
4//!
5//! - [`design`] — Color conversion, style bridging, layout, diff, panel primitives
6//! - [`theme`] — Theme registry, runtime state, syntax theme resolution
7//! - [`tui`]   — Full TUI framework (session, widgets, runner, markdown, etc.)
8//!
9//! Items from `design` and `theme` are also re-exported at the crate root for
10//! backward-compatibility with callers that previously imported from the
11//! standalone `vtcode-design` / `vtcode-theme` crates (now consolidated into `vtcode-ui`).
12
13pub mod design;
14pub mod theme;
15pub mod tui;
16
17// Backward-compat re-exports so `vtcode_ui::ThemeStyles`, `vtcode_ui::color::*`,
18// etc. continue to work without path-qualified imports.
19pub use design::*;
20pub use theme::*;