cosmic::cosmic_theme::steps

Function get_surface_color

source
pub fn get_surface_color(
    base_index: usize,
    steps: usize,
    step_array: &Vec<Alpha<Rgb, f32>>,
    is_dark: bool,
    fallback: &Alpha<Rgb, f32>,
) -> Alpha<Rgb, f32>
Expand description

get surface color given a base and some steps