Changed global style and font

This commit is contained in:
2026-07-11 22:52:46 -04:00
parent 471a3bb1e8
commit 3c80cf56a0
2 changed files with 6 additions and 4 deletions

View File

@@ -1,13 +1,15 @@
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import "tailwindcss";
@import "@heroui/styles";
@theme {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif,
--font-sans: "Varela Round", "Inter", ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
html,
body {
@apply bg-white dark:bg-gray-950;
/*@apply bg-white dark:bg-gray-950;*/
@media (prefers-color-scheme: dark) {
color-scheme: dark;

View File

@@ -25,14 +25,14 @@ export const links: Route.LinksFunction = () => [
export function Layout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<html className="dark" data-theme="dark" lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<Meta />
<Links />
</head>
<body>
<body className="bg-background text-foreground">
{children}
<ScrollRestoration />
<Scripts />