Macro style

Source
macro_rules! style {
    (@default ($default:expr) $($field:ident : $content:expr),*) => { ... };
    ($($field:ident : $content:expr,)*) => { ... };
}
Expand description

Wrapper around bevy::ui::Style

style! {
    param1: something,
    param2: something_else,
}
// Is strictly equivalent to
bevy::ui::Style {
    param1: something,
    param2: something_else,
    ..Default.default()
}