modified themes and added logging to preview generator

This commit is contained in:
2024-09-17 11:33:36 +02:00
committed by Flo Greistorfer
parent 3cb5269985
commit c79473d646
29 changed files with 93 additions and 61 deletions

View File

@@ -33,8 +33,7 @@ def extract_colorscheme(theme_path: str) -> Dict[str, str]:
color_value = match[1]
hex_color_value = css_color_to_hex(color_value)
colorscheme[variable_name] = hex_color_value
logger.debug("extracted variable", extra={"variable": variable_name, "value": hex_color_value})
logger.info("extracted color scheme", extra={"colorscheme": colorscheme})
logger.debug("extracted variable", extra={"variable": variable_name, "value": hex_color_value})
return colorscheme