/* ═══════════════════════════════════════════════════════════════════════ THEME TOGGLE JAVASCRIPT Add to Webstudio custom code section ═══════════════════════════════════════════════════════════════════════ */ /* document.addEventListener('DOMContentLoaded', () => { const savedTheme = localStorage.getItem('theme') || 'dark'; document.documentElement.setAttribute('data-theme', savedTheme); }); function toggleTheme() { const root = document.documentElement; const current = root.getAttribute('data-theme'); const next = current === 'light' ? 'dark' : 'light'; root.setAttribute('data-theme', next); localStorage.setItem('theme', next); } */ /* ═══════════════════════════════════════════════════════════════════════ END OF UNIFIED DESIGN TOKENS V4.0 Total: ~210 tokens across 3 layers ═══════════════════════════════════════════════════════════════════════ */