updated lite

This commit is contained in:
Concedo 2025-09-21 11:08:54 +08:00
parent 3e72aaff5b
commit 7e9db9dc3b

View file

@ -12,7 +12,7 @@ Current version indicated by LITEVER below.
-->
<script id="init-config">
const LITEVER = 283;
const LITEVER = 284;
const urlParams = new URLSearchParams(window.location.search);
var localflag = urlParams.get('local'); //this will be replaced automatically in embedded kcpp
const STORAGE_PREFIX = (localflag?"e_":"")+"kaihordewebui_";
@ -207,6 +207,31 @@ Current version indicated by LITEVER below.
--theme_color_topmenu: #ff69b4b3;
}
.theme-5
{
--theme_color_bg_dark: #244752ad;
--theme_color_bg: #244752;
--theme_color_bg_outer: #647476;
--theme_color_main: #002b36;
--theme_color_footer: #002b36;
--theme_color_text: #a0bebe;
--theme_color_input_text: #a0bebe;
--theme_color_highlight: #7e9ea8;
--theme_color_border: #7c8e8e;
--theme_color_border_highlight: #82a1bc;
--theme_color_input_bg: #244752;
--theme_color_disabled_bg: #484d56;
--theme_color_disabled_fg: #616773;
--theme_color_topbtn: #244752;
--theme_color_topbtn_highlight: #244752;
--theme_color_tabs: #002b36;
--theme_color_tabs_highlight: #4b7b8a;
--theme_color_tabs_text: #a0bebe;
--theme_color_glow_text: #a0bebe;
--theme_color_placeholder_text: #c5d5d5;
--theme_color_topmenu: #002b36;
}
body.connected.corpoui .topmenu {
--theme_color_topmenu: #337ab7;
}
@ -13687,6 +13712,7 @@ Current version indicated by LITEVER below.
document.body.classList.remove("theme-2");
document.body.classList.remove("theme-3");
document.body.classList.remove("theme-4");
document.body.classList.remove("theme-5");
if(localsettings.colortheme==1)
{
document.body.classList.add("theme-1");
@ -13703,6 +13729,10 @@ Current version indicated by LITEVER below.
{
document.body.classList.add("theme-4");
}
else if(localsettings.colortheme==5)
{
document.body.classList.add("theme-5");
}
}
function update_genimg_button_visiblility()
@ -26508,6 +26538,7 @@ Current version indicated by LITEVER below.
<option value="2">Tako</option>
<option value="3">Shadow</option>
<option value="4">Candy</option>
<option value="5">Aqua</option>
</select>
</div>
</div>