vtcode_ui/lib.rs
1#![allow(
2 missing_docs,
3 clippy::expect_used,
4 dead_code,
5 unused_imports,
6 reason = "Intentional compatibility, platform, or test-only suppression."
7)]
8#![expect(
9 unused_results,
10 clippy::let_underscore_must_use,
11 clippy::indexing_slicing,
12 clippy::string_slice,
13 clippy::cast_possible_truncation,
14 clippy::cast_possible_wrap,
15 reason = "UI rendering uses validated display offsets, bounded terminal dimensions, and best-effort terminal cleanup."
16)]
17//! Unified UI crate for VT Code: design system, theme registry, and TUI framework.
18//!
19//! # Module layout
20//!
21//! - [`design`] — Color conversion, style bridging, layout, diff, panel primitives
22//! - [`theme`] — Theme registry, runtime state, syntax theme resolution
23//! - [`tui`] — Full TUI framework (session, widgets, runner, markdown, etc.)
24//!
25//! Items from `design` and `theme` are also re-exported at the crate root for
26//! backward-compatibility with callers that previously imported from the
27//! standalone `vtcode-design` / `vtcode-theme` crates (now consolidated into `vtcode-ui`).
28
29pub mod design;
30pub mod theme;
31pub mod tui;
32pub mod vim;
33
34// Backward-compat re-exports so `vtcode_ui::ThemeStyles`, `vtcode_ui::color::*`,
35// etc. continue to work without path-qualified imports.
36pub use design::*;
37pub use theme::*;