Update rebuild-themes.py

This commit is contained in:
mauro 🤙 2024-08-21 22:59:17 +02:00 committed by GitHub
parent 6ffbd9ba4c
commit 0f3738af10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,8 @@ def write_colors(colors_file, output_file):
f.write(f' {get_color_css_variable(color)}: {colors[color]};\n') f.write(f' {get_color_css_variable(color)}: {colors[color]};\n')
if colors["isDarkMode"]: if colors["isDarkMode"]:
f.write(' color-scheme: dark !important;\n') f.write(' color-scheme: dark !important;\n')
else:
f.write(' color-scheme: light !important;\n')
f.write('}\n') f.write('}\n')
def main(): def main():