UNPKG

create-onetech-app

Version:

CLI to quickly set up React projects with popular templates and tools.

30 lines (26 loc) 843 B
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/onetech.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="/app/styles/globals.css"> <script> // Prevent FOUC (function () { const theme = localStorage.getItem("theme"); const systemPrefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches; if (theme === "dark" || (!theme && systemPrefersDark)) { document.documentElement.classList.add("dark"); } else { document.documentElement.classList.remove("dark"); } })(); </script> <title>OneTech</title> </head> <body> <div id="root"></div> <script type="module" src="/app/main.jsx"></script> </body> </html>