  "system": {},
        "type": {},
        "machine": {},
        "cluster_size": {},
        "metric": "hot",
        "queries": [],
    };

    let theme = 'light';

    function setTheme(new_theme) {
        theme = new_theme;
        document.documentElement.setAttribute('data-theme', theme);
        window.localStorage.setItem('theme', theme);
        render();
    }

    document.getElementById('toggle-light').addEventListener('click', e => setTheme('light'));
    document.getElementById('toggle-dark