svgen.color.resolve
index
/home/vkottler/src/vkottler/workspace/svgen/svgen/color/resolve.py

A module for resolving colors.

 
Functions
       
get_color(key: Union[str, svgen.color.hsl.Hsl, svgen.color.rgb.Rgb, ForwardRef('Color')], manager: svgen.color.theme.manager.ColorThemeManager = None) -> svgen.color.Color
Resolve a color using the theme manager.

 
Data
        Colorlike = typing.Union[str, svgen.color.hsl.Hsl, svgen.color.rgb.Rgb, ForwardRef('Color')]
THEMES = {'blue_gray': {'blue_gray.primary.50': Color(rgb...l(hue=0, saturation=0, lightness=0, alpha=1.0))}}