4efe3f3c64
Add Vite, React, MDX, and Tailwind documentation infrastructure. Document component, handbook, overview, and utility routes. Add interactive examples for every component family. Deduplicate React resolution and load the Tailwind 4 theme configuration.
24 lines
756 B
HTML
24 lines
756 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Base UI Tailwind Components</title>
|
|
<script>
|
|
; (() => {
|
|
const storedTheme = localStorage.getItem("base-ui-tailwind-theme")
|
|
const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches
|
|
const theme = storedTheme === "light" || storedTheme === "dark" ? storedTheme : prefersDark ? "dark" : "light"
|
|
document.documentElement.classList.toggle("dark", theme === "dark")
|
|
})()
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="isolate" id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
|
|
</html>
|