mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +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,44 +1,43 @@
|
|||
|
||||
#urlbar:is([breakout][breakout-extend], [breakout][usertyping][focused]) {
|
||||
#urlbar:is([breakout][breakout-extend], [focused]) {
|
||||
#urlbar-input {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
z-index: 2;
|
||||
z-index: 2;
|
||||
position: fixed !important;
|
||||
bottom: auto !important;
|
||||
top: 20vh !important;
|
||||
padding-left: 6px !important;
|
||||
padding-right: 8px !important;
|
||||
|
||||
left: 18vw !important;
|
||||
left: 18vw !important;
|
||||
right: 18vw !important;
|
||||
width: 64vw !important;
|
||||
|
||||
&:after {
|
||||
&:after {
|
||||
content: "";
|
||||
position: fixed;
|
||||
pointer-events: none;
|
||||
|
||||
width: 100vw;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
top: 0px;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
backdrop-filter: blur(5px);
|
||||
|
||||
z-index: -1;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
#identity-box {
|
||||
#identity-box {
|
||||
margin: auto 0;
|
||||
height: 30px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.urlbar-go-button {
|
||||
.urlbar-go-button {
|
||||
margin: auto 0;
|
||||
}
|
||||
}
|
|
@ -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