mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-08 01:10:01 +02:00
Update theme: Format theme data JSON file
This commit is contained in:
parent
a14abb27d1
commit
ef08ecb65f
3 changed files with 15 additions and 14 deletions
|
@ -46,6 +46,8 @@ def main():
|
|||
continue
|
||||
with open(theme_data_file, 'r') as f:
|
||||
theme_data = json.load(f)
|
||||
with open(theme_data_file, 'w') as f:
|
||||
json.dump(theme_data, f, indent=4) # format the json file
|
||||
with open(THEMES_DATA_FILE, 'r') as f:
|
||||
themes_data = json.load(f)
|
||||
theme_colors_file = os.path.join(theme_folder, 'colors.json')
|
||||
|
@ -58,7 +60,7 @@ def main():
|
|||
theme_data['isColorTheme'] = True
|
||||
themes_data[theme] = theme_data
|
||||
with open(THEMES_DATA_FILE, 'w') as f:
|
||||
json.dump(themes_data, f, indent=4)
|
||||
json.dump(themes_data, f)
|
||||
del themes_data
|
||||
print(f"Rebuilt theme: {theme}")
|
||||
print("Rebuilt all themes!")
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
#urlbar:is([breakout][breakout-extend], [breakout][usertyping][focused]) {
|
||||
#urlbar:is([breakout][breakout-extend], [focused]) {
|
||||
#urlbar-input {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/83a641f7-eca9-4c0f-91af-45627bef0539/readme.md",
|
||||
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/83a641f7-eca9-4c0f-91af-45627bef0539/image.png",
|
||||
"author": "mauro-balades",
|
||||
"version": "1.0.0"
|
||||
"version": "1.0.1"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue