pub fn style_mix<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>>
Expand description
Mix multiple [Style][3] objects into one.
Type: function( { [Style][3], [Style][3], … } ) -> [Style][3]
Example:
xplr.util.style_mix({{ fg = "Red" }, { bg = "Blue" }, { add_modifiers = {"Bold"} }})
-- { fg = "Red", bg = "Blue", add_modifiers = { "Bold" }, sub_modifiers = {} }