mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Theme saving fix
This commit is contained in:
@@ -7651,7 +7651,7 @@ def UI_2_theme_change(data):
|
|||||||
with open("themes/{}.css".format(data['name']), "w") as f:
|
with open("themes/{}.css".format(data['name']), "w") as f:
|
||||||
f.write(":root {\n")
|
f.write(":root {\n")
|
||||||
for key, value in data['theme'].items():
|
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("}")
|
f.write("}")
|
||||||
print("Theme Saved")
|
print("Theme Saved")
|
||||||
|
|
||||||
|
@@ -373,7 +373,7 @@ input[type="range"]::-ms-fill-upper {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top:10px;
|
top:10px;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
left: calc(var(--flyout_menu_width) - 130px);
|
left: calc(var(--flyout_menu_width) - 132px);
|
||||||
z-index:50;
|
z-index:50;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
|
Reference in New Issue
Block a user