Move every tailwind.config.js option into src/style.css: @import, @plugin flowbite/plugin, @source for the flowbite-svelte dist (node_modules is gitignored so auto-detection skips the lib), @theme for the custom primary scale, and @utility container porting the old center plus responsive padding and max-width ladders. darkMode media is v4s default so it needs no equivalent. vite.config.ts gains the tailwindcss() plugin; index.html loses the dead flowbite.js tag. style.css also carries two v4-behavior restorations found while verifying the built CSS: pointer cursor on buttons (v4 preflight dropped v3s rule) and the container max-width ladder the first pass at this file omitted.
13 lines
322 B
HTML
13 lines
322 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
|
<title>AniTrack</title>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script src="./src/main.ts" type="module"></script>
|
|
</body>
|
|
</html>
|