Function cosmic::cosmic_theme::steps::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