feat: use ctp python lib instead of hardcoded colors (#55)

This commit is contained in:
Pranav Santhosh
2022-12-08 21:06:51 +05:30
committed by GitHub
parent 34ac795d4e
commit 17aaa5b36c
9 changed files with 88 additions and 244 deletions

View File

@@ -7,7 +7,7 @@ from scripts.recolor import recolor
from scripts.var import def_color_map, theme_name, tmp_dir, work_dir
def create_theme(type: str, accent: str, dest: str = tmp_dir, link: bool = False, name: str = theme_name, size: str = "compact", tweaks=['rimless']) -> str:
def create_theme(type: str, accent: str, dest: str = tmp_dir, link: bool = False, name: str = theme_name, size: str = "standard", tweaks=[]) -> str:
try:
os.makedirs(tmp_dir) # Create our temporary directory