Theme saving fix

This commit is contained in:
ebolam
2022-09-06 17:36:17 -04:00
parent fb9cdf6fa0
commit cd42856f64
2 changed files with 2 additions and 2 deletions

View File

@@ -7651,7 +7651,7 @@ def UI_2_theme_change(data):
with open("themes/{}.css".format(data['name']), "w") as f:
f.write(":root {\n")
for key, value in data['theme'].items():
f.write("\t{}: {};\n".format(key, value.replace(";", "")))
f.write("\t{}: {};\n".format(key, value.replace(";", "").replace("--", "-")))
f.write("}")
print("Theme Saved")

View File

@@ -373,7 +373,7 @@ input[type="range"]::-ms-fill-upper {
position: absolute;
top:10px;
color: var(--text);
left: calc(var(--flyout_menu_width) - 130px);
left: calc(var(--flyout_menu_width) - 132px);
z-index:50;
width: 25px;
height: 25px;