Commit c841593a authored by Florian Blasius's avatar Florian Blasius 🤘

Add description to theme crate.

parent 420dc677
This crate provides functions to load a css files as theme and access it properties with
This crate depends on the orbtk_utils crate.
# Example
Basic usage of the tree:
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::*;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment