From 0358daa9b134f5794b0cd6c48da09bdeb99ce598 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Sun, 16 Apr 2023 20:50:59 +0300 Subject: [PATCH] Dim down the red color of token counter #90 --- public/scripts/RossAscends-mods.js | 2 +- public/style.css | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index 675c406fa..501fcee96 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -165,7 +165,7 @@ function RA_CountCharTokens() { // display the counted tokens 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 - } else { $("#result_info").html("" + count_tokens + " Tokens (" + perm_tokens + " Permanent Tokens)(TOO MANY)"); } //warn if either are over 1024 + } else { $("#result_info").html(`${count_tokens} Tokens (${perm_tokens} Permanent Tokens)(TOO MANY)`); } //warn if either are over 1024 } //Auto Load Last Charcter -- (fires when active_character is defined and auto_load_chat is true) async function RA_autoloadchat() { diff --git a/public/style.css b/public/style.css index 0ee58693b..6e7540d49 100644 --- a/public/style.css +++ b/public/style.css @@ -2606,7 +2606,7 @@ body.big-avatars .collage_4 .img_4 { } span.warning { - color: rgb(190, 0, 0); + color: rgba(255, 0, 0, 0.5); font-weight: bolder; } @@ -3148,9 +3148,8 @@ toolcool-color-picker { flex-wrap: wrap; } -.reverse_proxy_warning { - color: red; - opacity: 0.5; +.reverse_proxy_warning, .neutral_warning { + color: rgba(255, 0, 0, 0.5) } .textarea_compact {