Constant freya_elements::elements::rect::color   
source · pub const color: (&'static str, Option<&'static str>, bool);Expand description
The color attribute lets you specify the color of the text.
You can learn about the syntax of this attribute in Color Syntax.
§Example
fn app() -> Element {
    rsx!(
        label {
            color: "green",
            "Hello, World!"
        }
    )
}Another example showing inheritance:
fn app() -> Element {
    rsx!(
        rect {
            color: "blue",
            label {
                "Hello, World!"
            }
        }
    )
}