cosmic_theme::steps

Function get_text

Source
pub fn get_text(
    base_index: usize,
    step_array: &[Srgba],
    fallback: &Srgba,
    tint_array: Option<&[Srgba]>,
) -> Srgba
Expand description

get text color given a base background color