import "@fontsource-variable/manrope";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App";
import "./styles.css";
import { initTheme } from "./lib/theme";

initTheme();

const container = document.getElementById("root");
if (!container) throw new Error("Élément racine introuvable.");

createRoot(container).render(
  <StrictMode>
    <App />
  </StrictMode>,
);
