Constant freya::elements::rect::decoration_color

pub const decoration_color: (&'static str, Option<&'static str>, bool);
Expand description

Specify the decoration’s color in a text.

You can learn about the syntax of this attribute in Color Syntax.

§Example

fn app() -> Element {
    rsx!(
        label {
            decoration: "line-through",
            decoration_color: "orange",
            "Hello, World!"
        }
    )
}