fix: improve theme consistency and accessibility polish
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user