3 Commits

Author SHA1 Message Date
af979de893 Update theme fonts 2026-05-14 15:22:15 +00:00
55586a7b5b Update theme fonts 2026-05-14 15:22:15 +00:00
743cb1b5da Update theme colors 2026-05-14 15:22:01 +00:00
3 changed files with 21 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ 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 { DM_Sans } from "next/font/google"; import { DM_Sans } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
@@ -15,8 +16,14 @@ export const metadata: Metadata = {
description: 'Gustări sănătoase, naturale, direct de la producător. Livrăm în Ungheni și împrejurimi.', description: 'Gustări sănătoase, naturale, direct de la producător. Livrăm în Ungheni și împrejurimi.',
}; };
const dmSans = DM_Sans({
variable: "--font-dm-sans", const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"], subsets: ["latin"],
}); });
@@ -28,7 +35,7 @@ export default function RootLayout({
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body className={`${dmSans.variable} antialiased`}> <body className={`${libreBaskerville.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-dm-sans), sans-serif; font-family: var(--font-inter), 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-dm-sans), sans-serif; font-family: var(--font-libre-baskerville), serif;
} }

View File

@@ -10,15 +10,15 @@
--accent: #ffffff; --accent: #ffffff;
--background-accent: #ffffff; */ --background-accent: #ffffff; */
--background: #fff9f2; --background: #080200;
--card: #ffffff; --card: #1a0d0b;
--foreground: #3e2c1c; --foreground: #ffe6d5;
--primary-cta: #7b4b2a; --primary-cta: #ffaa70;
--primary-cta-text: #ffffff; --primary-cta-text: #080200;
--secondary-cta: #ffffff; --secondary-cta: #170b07;
--secondary-cta-text: #3e2c1c; --secondary-cta-text: #ffe6d5;
--accent: #ffb347; --accent: #7b5e4a;
--background-accent: #e6d5c3; --background-accent: #b8541e;
/* 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);