From 945da04db0070334516e9f8b768c9ebd2e6b0d43 Mon Sep 17 00:00:00 2001 From: Paulo Porto Date: Wed, 27 May 2026 11:12:57 -0300 Subject: [PATCH] =?UTF-8?q?Ajustes=20visuais=20no=20bot=C3=A3o=20de=20ligh?= =?UTF-8?q?t/dark=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content-script.js | 14 +++++++++++--- src/content/styles.css | 13 ++++++++++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/content-script.js b/content-script.js index a3818b6..e7d7913 100644 --- a/content-script.js +++ b/content-script.js @@ -474,7 +474,8 @@ action === "calendar-prev" || action === "calendar-next" || action === "calendar-today" || - action === "toggle-sidebar" + action === "toggle-sidebar" || + action === "toggle-theme" ) { return `[data-action="${action}"]`; } @@ -530,9 +531,16 @@ type="button" class="arch-panel-extension-theme-toggle" data-action="toggle-theme" - aria-label="Toggle dashboard theme" + aria-label="${appState.theme === "dark" ? "Switch to light mode" : "Switch to dark mode"}" + title="${appState.theme === "dark" ? "Switch to light mode" : "Switch to dark mode"}" > - ${appState.theme === "dark" ? "Light mode" : "Dark mode"} +