Skip to main content

oxicode_vtui/
lib.rs

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