редизайн кнопок 1st version

This commit is contained in:
alekan committed 2026-06-01 02:55:06 +03:00
1 parent 30972db9ee
commit 3217586657
62 files changed
+1502 -479

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
const isDark = () => document.documentElement.getAttribute('data-theme') !== 'light';
const btn = document.createElement('button');
btn.className = 'theme-toggle';
btn.className = 'btn btn-icon-md btn-secondary theme-toggle';
btn.setAttribute('aria-label', 'Переключить тему');
btn.innerHTML = isDark() ? moonSVG : sunSVG;