cosmic::cosmic_theme::steps

Function get_text

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

get text color given a base background color