34560000`
      byId('toggleTheme').innerHTML = `${darkMode ? 'Light' : 'Dark'} Theme`
    }
    window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => e.matches ^ darkMode ? toggleTheme() : '')
    document.querySelectorAll(".table").forEach(table =>
      table.addEventListener("scroll", function (evt) {
        const el = evt.currentTarget, sT = el.scrollTop;
        el.querySelectorAll("thead th").forEach(th => th.style.transform = sT != 0 ? 'scale(1.05, 1.2)' : 'scale(1, 1)')