mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-11-13 12:38:15 +00:00
Changed icons SVG
Changed the way colours were managed in the SVG files to make them more amenable to scripting. Changed the scripts to automate icon resizing. Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
This commit is contained in:
@@ -42,7 +42,7 @@ input_dir = output_dir_prefix + '70-70'
|
||||
# Convert icons to different screen sizes by these parameters
|
||||
lookup = [26, 30, 33, 35, 36, 38, 40, 52, 54, 56, 60, 61, 62, 65, 68, 80]
|
||||
|
||||
# Delete all but the original 48x48 icon directories
|
||||
# Delete all but the original 70x70 icon directories
|
||||
for entry in os.listdir("."):
|
||||
if entry.startswith(output_dir_prefix) and entry != input_dir:
|
||||
shutil.rmtree(entry)
|
||||
|
||||
Reference in New Issue
Block a user