SVG-specific styling attributes
Summary
Types
@type t() :: {:svg_color, Emerge.UI.Color.color() | Emerge.UI.Color.t()}
Functions
@spec color(Emerge.UI.Color.color() | Emerge.UI.Color.t()) :: t()
Apply a solid or gradient template tint to visible SVG pixels.
Original RGB is replaced; source alpha is multiplied by tint alpha. Gradients span the SVG element's content box, not the cached source raster or each tile.