mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Dim down the red color of token counter #90
This commit is contained in:
@@ -165,7 +165,7 @@ function RA_CountCharTokens() {
|
|||||||
// display the counted tokens
|
// display the counted tokens
|
||||||
if (count_tokens < 1024 && perm_tokens < 1024) {
|
if (count_tokens < 1024 && perm_tokens < 1024) {
|
||||||
$("#result_info").html(count_tokens + " Tokens (" + perm_tokens + " Permanent Tokens)"); //display normal if both counts are under 1024
|
$("#result_info").html(count_tokens + " Tokens (" + perm_tokens + " Permanent Tokens)"); //display normal if both counts are under 1024
|
||||||
} else { $("#result_info").html("<font color=red>" + count_tokens + " Tokens (" + perm_tokens + " Permanent Tokens)(TOO MANY)</font>"); } //warn if either are over 1024
|
} else { $("#result_info").html(`<span class="neutral_warning">${count_tokens} Tokens (${perm_tokens} Permanent Tokens)(TOO MANY)</span>`); } //warn if either are over 1024
|
||||||
}
|
}
|
||||||
//Auto Load Last Charcter -- (fires when active_character is defined and auto_load_chat is true)
|
//Auto Load Last Charcter -- (fires when active_character is defined and auto_load_chat is true)
|
||||||
async function RA_autoloadchat() {
|
async function RA_autoloadchat() {
|
||||||
|
@@ -2606,7 +2606,7 @@ body.big-avatars .collage_4 .img_4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span.warning {
|
span.warning {
|
||||||
color: rgb(190, 0, 0);
|
color: rgba(255, 0, 0, 0.5);
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3148,9 +3148,8 @@ toolcool-color-picker {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reverse_proxy_warning {
|
.reverse_proxy_warning, .neutral_warning {
|
||||||
color: red;
|
color: rgba(255, 0, 0, 0.5)
|
||||||
opacity: 0.5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.textarea_compact {
|
.textarea_compact {
|
||||||
|
Reference in New Issue
Block a user