Merge 3f4622c923f63e66d4a473884d0a0095943daf0d into 236aa48e741ff8d65c4c3826db2813bf2ee6f352

This commit is contained in:
Felipe dos Anjos 2021-09-10 08:14:35 +05:30 committed by GitHub
commit a9f15911ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ def flatten_colors(colors):
"alpha": colors["alpha"], "alpha": colors["alpha"],
**colors["special"], **colors["special"],
**colors["colors"]} **colors["colors"]}
util.Color.alpha_num = all_colors["alpha"]
return {k: util.Color(v) for k, v in all_colors.items()} return {k: util.Color(v) for k, v in all_colors.items()}

View File

@ -82,7 +82,7 @@ def parse(theme_file):
data["wallpaper"] = "None" data["wallpaper"] = "None"
if "alpha" not in data: if "alpha" not in data:
data["alpha"] = util.Color.alpha_num data["alpha"] = "100"
# Terminal.sexy format. # Terminal.sexy format.
if "color" in data: if "color" in data: