cosmic_theme::steps

Function get_surface_color

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

get surface color given a base and some steps