diff --git a/original-resources/generate_theme.py b/original-resources/generate_theme.py new file mode 100755 index 0000000..1215a5f --- /dev/null +++ b/original-resources/generate_theme.py @@ -0,0 +1,85 @@ +#!/usr/bin/env python3 + +# Generates a theme from `theme.svg` +import re +import os +import subprocess + +color_re = \ + re.compile(' + units="px" + showguides="false" /> @@ -45,7 +46,7 @@ image/svg+xml - + @@ -169,27 +170,31 @@ Modify the colors from these screensTo easily create a custom theme, copyand then run `generate_theme.py`this file and rename it as "in.svg". Placeto create a `generated.theme`, readyit under the same folder, and make yourto be dropped under `assets/themes` + x="-10.304577" + y="439.07431" + id="tspan4187">changes on the new file. Then simply run"generate_theme.py" to create "out.theme"