1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
/*! This crate provides functions to load a css files as theme and access it properties with selectors. This crate depends on the orbtk_utils crate. # Example Basic usage of the tree: ```rust,no_run use orbtk_css_engine::prelude::*; let mut theme = Theme::create_from_path("theme.css").build(); let selector = Selector::from("button"); let background = theme.brush("background", &selector); ``` */ pub use selector::*; pub use theme::*; pub mod prelude; mod selector; mod theme;