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 "tailwindcss";
@import "@heroui/styles";
@theme { @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"; "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
} }
html, html,
body { body {
@apply bg-white dark:bg-gray-950; /*@apply bg-white dark:bg-gray-950;*/
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
color-scheme: dark; color-scheme: dark;

View File

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