import { render } from "preact";
import { App } from "./App";
import "./index.css";
import { applyThemeToDocument, getStoredThemeName } from "./theme/themes";

const root = document.getElementById("app");
applyThemeToDocument(getStoredThemeName());
if (root) render(<App />, root);
