pub fn tint_symbolic(rgba: &[u8], tint: Color) -> Vec<u8> ⓘExpand description
Re-tint a symbolic RGBA icon: replace every pixel’s RGB with tint while
keeping the source alpha (weighted by tint.a).
Input rgba must be straight-alpha RGBA8 with 4 bytes per pixel.
Returns a freshly allocated Vec<u8> of the same length.
Useful for flattening Papirus / freedesktop icons to a single theme colour so they stay legible against both light and dark backgrounds.