Skip to content

Missing module import - materialyoucolor.utils.image_utils #22

@MateuszCebula

Description

@MateuszCebula

When importing theme_from_source_color from materialyoucolor.utils.theme_utils, I found following missing import causing crash:
(<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'materialyoucolor.utils.image_utils'"))

Code snippet:
from materialyoucolor.utils.theme_utils import theme_from_source_color
from materialyoucolor.utils.color_utils import argb_from_rgb

theme = theme_from_source_color(argb_from_rgb(255, 0, 0, 255))

Edit:
commenting line in theme_utils:
#from materialyoucolor.utils.image_utils import source_color_from_image
Seems not to break the theme_from_source_color, but I do not know about other utilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions