Module material_color

Module material_color 

Source
Expand description

Material Design color utilities for HCT and dynamic scheme generation.

§Usage Generate Material-compliant dynamic palettes for consistent UI theming.

Structs§

MaterialColorScheme
A Material Design color scheme, which can be light or dark, produced from a seed color.

Functions§

blend_over
Blends two colors, overlay drawn over base, using the provided overlay_alpha.
global_material_scheme
Returns the global Material Design 3 color scheme.
set_global_material_scheme
Sets the global Material Design 3 color scheme.