pub fn gradient_spans(text: &str, gradient: &Gradient) -> Vec<Span<'static>>
Generate styled spans for gradient text.
Creates a vector of single-character spans, each colored according to its position in the gradient.