//! K-UI (see the vision's K-UI note): an app says what its UI is, as a //! pure function of its state; K-UI lays it out, draws it in the theme, //! and handles focus and keys. It runs inside the app and draws into the //! app's window. #![no_std] #![forbid(unsafe_code)] extern crate alloc; pub mod element; pub mod layout; mod pixels; pub mod motion; pub mod render; pub mod run; pub mod text; pub mod theme; mod tree; pub mod ui; pub use element::{Element, Size, button, column, list_item, row, text, text_input, toggle}; pub use run::run; pub use theme::{ButtonVariant, Spacing, TextColour, TextStyle}; pub use ui::App; #[cfg(test)] mod tests;