feat(website): unocss

This commit is contained in:
iCrawl
2022-06-08 21:45:16 +02:00
parent 33cdcdbb7a
commit 256c4f955c
9 changed files with 493 additions and 14 deletions

View File

@@ -1,5 +1,12 @@
import type { MetaFunction } from '@remix-run/node';
import type { MetaFunction, LinksFunction } from '@remix-run/node';
import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from '@remix-run/react';
import unocssReset from '@unocss/reset/normalize.css';
import unocss from './styles/unocss.css';
export const links: LinksFunction = () => [
{ rel: 'stylesheet', href: unocssReset },
{ rel: 'stylesheet', href: unocss },
];
export const meta: MetaFunction = () => ({
charset: 'utf-8',

View File

@@ -1,3 +1,3 @@
export default function IndexRoute() {
return <div>Hello World</div>;
return <div className="text-2xl">Hello World</div>;
}