Fine tuned dark theme color

This commit is contained in:
Toby Chui 2025-03-23 12:47:23 +08:00
parent 4d16758e0a
commit b71437058f
3 changed files with 11 additions and 4 deletions

View File

@ -43,7 +43,7 @@ const (
/* Build Constants */
SYSTEM_NAME = "Zoraxy"
SYSTEM_VERSION = "3.2.0"
DEVELOPMENT_BUILD = true /* Development: Set to false to use embedded web fs */
DEVELOPMENT_BUILD = false /* Development: Set to false to use embedded web fs */
/* System Constants */
TMP_FOLDER = "./tmp"

View File

@ -32,7 +32,7 @@ body:not(.darkTheme){
--theme_background: linear-gradient(60deg, rgb(84, 58, 183) 0%, rgb(0, 172, 193) 100%);
--theme_background_inverted: linear-gradient(45deg, rgba(18,19,23,1) 21%, rgba(50,59,66,1) 79%);
--theme_green: linear-gradient(45deg, rgba(153,229,162,1) 21%, rgba(212,252,120,1) 79%);
--theme_green: linear-gradient(45deg, rgba(65,199,175,1) 21%, rgba(84,227,142,1) 79%);
--theme_red: linear-gradient(203deg, rgba(250,172,38,1) 17%, rgba(202,0,37,1) 78%);
}
@ -55,7 +55,7 @@ body.darkTheme{
--button_border_color: #646464;
--buttom_toggle_active: #01dc64;
--buttom_toggle_disabled: #2b2b2b;
--table_header_color: #323b42;
--table_header_color: rgba(85,131,238,1);
--table_bg_default: #121214;
--status_dot_bg: #232323;
@ -797,6 +797,13 @@ body.darkTheme .ui.message {
border: 1px solid var(--message_border_color) !important;
}
body.darkTheme .ui.yellow.message {
background-color: #b58105 !important;
}
body.darkTheme .ui.yellow.message .header {
color: var(--text_color) !important;
}
/*
Access Rules
*/

View File

@ -312,7 +312,7 @@
<div class="ui mini fluid input" style="margin-top: -0.6em;">
<input type="number" min="0" class="maxConn" value="${upstream.MaxConn}">
</div>
<small>Set to 0 for default value (32 connections)</small>
<small>Set to 0 for default value</small>
<br>
<p style="margin-top: 0.6em;">Response Timeout</p>
<div class="ui mini right labeled fluid input" style="margin-top: -0.6em;">