редизайн кнопок 1st version
This commit is contained in:
1 parent
30972db9ee
commit
3217586657
62 files changed
+1502
-479
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user