glassy-ui 0.1.0

Glassy UI components for native GPUI interfaces.
//! Process-wide light/dark theme for Glassy UI.
//!
//! ```ignore
//! use glassy_ui::{init_theme, ActiveTheme, Theme};
//!
//! fn main() {
//!     application().run(|cx| {
//!         init_theme(cx);
//!         // later, anywhere you have App / Context:
//!         let theme = cx.theme();
//!         div().bg(theme.canvas).text_color(theme.ink);
//!         cx.toggle_theme();
//!     });
//! }
//! ```

mod active;
mod tokens;

pub use active::{init, ActiveTheme};
pub use tokens::{paint, rgb, Theme, ThemeKind, FONT_FAMILY};