feat: use tailwind-compat

This commit is contained in:
Dominic Elm
2024-07-11 21:35:54 +02:00
parent d2b36e8fb2
commit 2c1f32c143
3 changed files with 144 additions and 139 deletions

View File

@@ -1,6 +1,6 @@
import type { LinksFunction } from '@remix-run/cloudflare';
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from '@remix-run/react';
import reset from '@unocss/reset/tailwind.css?url';
import tailwindReset from '@unocss/reset/tailwind-compat.css?url';
import globalStyles from '~/styles/index.scss?url';
import 'virtual:uno.css';
@@ -11,7 +11,7 @@ export const links: LinksFunction = () => [
href: '/favicon.svg',
type: 'image/svg+xml',
},
{ rel: 'stylesheet', href: reset },
{ rel: 'stylesheet', href: tailwindReset },
{ rel: 'stylesheet', href: globalStyles },
{
rel: 'preconnect',

View File

@@ -47,7 +47,7 @@
"fast-glob": "^3.3.2",
"typescript": "^5.5.2",
"unified": "^11.0.5",
"unocss": "^0.61.0",
"unocss": "^0.61.3",
"vite": "^5.3.1",
"vite-tsconfig-paths": "^4.3.2",
"wrangler": "^3.63.2",