fix: improve theme consistency and accessibility polish

This commit is contained in:
2026-05-01 15:52:09 -04:00
parent 30d45c59a9
commit a1d6afe503
5 changed files with 11 additions and 10 deletions
+1
View File
@@ -192,6 +192,7 @@ if ($themeSection === 'body'):
toggleButton.setAttribute('aria-label', label);
toggleButton.setAttribute('title', label);
toggleButton.setAttribute('aria-pressed', isDark ? 'true' : 'false');
toggleIcon.className = 'bi ' + iconClass;
}