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

@@ -1,8 +1,8 @@
from scripts.create_theme import create_theme
from scripts.ctp_colors import ctp_colors
from scripts.ctp_colors import ctp_colors, get_all_accent
for theme, value in ctp_colors.items():
for accent, _ in value.get_accent().items():
for accent, _ in get_all_accent(value).items():
print("\n\n\nCreating theme for", theme, "with accent", accent)
create_theme(theme, accent)