xpeditis2.0/apps/frontend/src/lib/fonts.ts
David d65cb721b5
Some checks are pending
CD Production (Hetzner k3s) / Promote Images (preprod → prod) (push) Waiting to run
CD Production (Hetzner k3s) / Deploy to k3s (xpeditis-prod) (push) Blocked by required conditions
CD Production (Hetzner k3s) / Smoke Tests (push) Blocked by required conditions
CD Production (Hetzner k3s) / Deployment Summary (push) Blocked by required conditions
CD Production (Hetzner k3s) / Notify Success (push) Blocked by required conditions
CD Production (Hetzner k3s) / Notify Failure (push) Blocked by required conditions
chore: sync full codebase from cicd branch
Aligns main with the complete application codebase (cicd branch).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 12:56:44 +02:00

37 lines
890 B
TypeScript

/**
* Font Configuration
*
* Xpeditis uses two Google Fonts:
* - Manrope: For headings and titles
* - Montserrat: For body text and UI elements
*/
import { Manrope, Montserrat } from 'next/font/google';
/**
* Manrope - Used for headings, navigation, and emphasis
*/
export const manrope = Manrope({
subsets: ['latin'],
weight: ['200', '300', '400', '500', '600', '700', '800'],
variable: '--font-manrope',
display: 'swap',
preload: true,
});
/**
* Montserrat - Used for body text, descriptions, and UI elements
*/
export const montserrat = Montserrat({
subsets: ['latin'],
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
variable: '--font-montserrat',
display: 'swap',
preload: true,
});
/**
* Combined font class names for use in HTML/body elements
*/
export const fontClassNames = `${manrope.variable} ${montserrat.variable}`;