From 442b510489a24a547f673d06649023ae10b31781 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Thu, 13 Apr 2023 22:59:11 +0900 Subject: [PATCH 1/9] Input bar now themed correctly --- public/scripts/RossAscends-mods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index 189b828c0..e2381fd70 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -208,7 +208,7 @@ function RA_checkOnlineStatus() { } else { if (online_status !== undefined && online_status !== "no_connection") { $("#send_textarea").attr("placeholder", "Type a message..."); //on connect, placeholder tells user to type message - const formColor = power_user.fast_ui_mode ? "var(--black90a)" : "var(--black60a)"; + const formColor = power_user.fast_ui_mode ? "var(--SmartThemeFastUIBGColor)" : "var(--SmartThemeBlurTintColor)"; /* console.log("RA-AC -- connected, coloring input as " + formColor); */ $('#send_form').removeClass("no-connection"); $("#send_form").css("background-color", formColor); //on connect, form BG changes to transprent black From 07dd8446f97eea76a53ce964a515b7133806904c Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Thu, 13 Apr 2023 22:59:47 +0900 Subject: [PATCH 2/9] no color changing console spam --- public/scripts/power-user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 9df34b78a..992ef7784 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -151,22 +151,22 @@ async function applyThemeColor(type) { if (type === 'main') { document.documentElement.style.setProperty('--SmartThemeBodyColor', power_user.main_text_color); - console.log($MainTextColorPicker.color); + } if (type === 'italics') { document.documentElement.style.setProperty('--SmartThemeEmColor', power_user.italics_text_color); - console.log($ItalicsTextColorPicker.color); + } if (type === 'fastUIBG') { document.documentElement.style.setProperty('--SmartThemeFastUIBGColor', power_user.fastui_bg_color); - console.log($FastUIBGColorPicker.color); + } if (type === 'blurTint') { document.documentElement.style.setProperty('--SmartThemeBlurTintColor', power_user.blur_tint_color); - console.log($BlurTintColorPicker.color); + } // a small delay to let the browser do the layout redraw From 80806d07dcb4b9edb131ec972511105be84f6516 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Thu, 13 Apr 2023 23:02:29 +0900 Subject: [PATCH 3/9] fastUI toggle now applies to send_form as well --- public/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 40f98e524..8a38e0786 100644 --- a/public/style.css +++ b/public/style.css @@ -3376,7 +3376,8 @@ body.no-blur #top-bar, body.no-blur #character_popup, body.no-blur #world_popup, body.no-blur #dialogue_popup, -body.no-blur #select_chat_popup { +body.no-blur #select_chat_popup, +body.no-blur #send_form { background-color: var(--SmartThemeFastUIBGColor) !important; } From d99951233716b0c41cbf03a8af0d8b46536e9d8d Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Thu, 13 Apr 2023 23:17:23 +0900 Subject: [PATCH 4/9] note links (?) are always bold now --- public/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/style.css b/public/style.css index 8a38e0786..1b6298091 100644 --- a/public/style.css +++ b/public/style.css @@ -1778,6 +1778,7 @@ input[type="range"]::-webkit-slider-thumb { border-radius: 10px; line-height: var(--mainFontSize); font-size: var(--mainFontSize); + font-weight: 700; width: calc(var(--mainFontSize) + 0.2rem); height: calc(var(--mainFontSize) + 0.2rem); display: inline-block; From 33e056626d793572033f391d7a25de5834d3fd83 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Thu, 13 Apr 2023 23:35:53 +0900 Subject: [PATCH 5/9] larger textareas for AN/bias in extensions --- public/scripts/extensions/floating-prompt/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/scripts/extensions/floating-prompt/index.js b/public/scripts/extensions/floating-prompt/index.js index 62a19264a..a80603560 100644 --- a/public/scripts/extensions/floating-prompt/index.js +++ b/public/scripts/extensions/floating-prompt/index.js @@ -95,13 +95,13 @@ async function moduleWorker() { $('#extension_floating_counter').text(shouldAddPrompt ? 'This' : messagesTillInsertion); } -(function() { +(function () { function addExtensionsSettings() { const settingsHtml = `