feat: begin shell theme

This commit is contained in:
0xMRTT 2022-09-13 22:19:25 +02:00
parent 540019b19b
commit 85862dce34
No known key found for this signature in database
GPG key ID: AC9E06BF3DECB6FB

View file

@ -0,0 +1,11 @@
from jinja2 import Environment, FileSystemLoader
import os
def modify_colors(scss_path, output_path, **vars):
env = Environment(
loader=FileSystemLoader(os.path.dirname(scss_path)),
)
template = env.get_template('_colors.txt')
with open(output_path, 'w', encoding='utf-8') as f:
f.write(template.render(**vars))