3 Commits

Author SHA1 Message Date
73a8fdb147 Update theme fonts 2026-05-04 16:57:57 +00:00
ba37a1c09a Update theme fonts 2026-05-04 16:57:56 +00:00
5a30c75cf5 Update theme colors 2026-05-04 16:57:46 +00:00
3 changed files with 17 additions and 22 deletions

View File

@@ -6,20 +6,17 @@ import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper"; import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script"; import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = { title: 'EcoDrive | Smart Fuel Tracking & AI Receipt Scanning App', description: 'Experience the future of fuel management with EcoDrive. Track spending, scan receipts with AI, and find top-rated gas stations in a sleek, dark-mode interface.' }; export const metadata: Metadata = { title: 'EcoDrive | Smart Fuel Tracking & AI Receipt Scanning App', description: 'Experience the future of fuel management with EcoDrive. Track spending, scan receipts with AI, and find top-rated gas stations in a sleek, dark-mode interface.' };
const nunito = Nunito({
variable: "--font-nunito",
subsets: ["latin"],
});
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: Readonly<{
@@ -28,9 +25,7 @@ export default function RootLayout({
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body className={`${nunito.variable} antialiased`}>
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag /> <Tag />
{children} {children}
<script <script

View File

@@ -11,7 +11,7 @@ html {
body { body {
background-color: var(--background); background-color: var(--background);
color: var(--foreground); color: var(--foreground);
font-family: var(--font-inter-tight), sans-serif; font-family: var(--font-nunito), sans-serif;
position: relative; position: relative;
min-height: 100vh; min-height: 100vh;
overscroll-behavior: none; overscroll-behavior: none;
@@ -24,5 +24,5 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
font-family: var(--font-inter-tight), sans-serif; font-family: var(--font-nunito), sans-serif;
} }

View File

@@ -10,15 +10,15 @@
--accent: #ffffff; --accent: #ffffff;
--background-accent: #ffffff; */ --background-accent: #ffffff; */
--background: #f8fafc; --background: #ffffff;
--card: #ffffff; --card: #f9f9f9;
--foreground: #0f172a; --foreground: #000612e6;
--primary-cta: #1d4ed8; --primary-cta: #15479c;
--primary-cta-text: #ffffff; --primary-cta-text: #ffffff;
--secondary-cta: #e0e7ff; --secondary-cta: #f9f9f9;
--secondary-cta-text: #1e3a5f; --secondary-cta-text: #000612e6;
--accent: #3b82f6; --accent: #e2e2e2;
--background-accent: #60a5fa; --background-accent: #c4c4c4;
/* text sizing - set by ThemeProvider */ /* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);