xpeditis2.0/apps/frontend/src/lib/fonts.ts
David 08787c89c8
Some checks failed
Dev CI / Unit Tests (${{ matrix.app }}) (backend) (push) Blocked by required conditions
Dev CI / Unit Tests (${{ matrix.app }}) (frontend) (push) Blocked by required conditions
Dev CI / Notify Failure (push) Blocked by required conditions
Dev CI / Quality (${{ matrix.app }}) (backend) (push) Has been cancelled
Dev CI / Quality (${{ matrix.app }}) (frontend) (push) Has been cancelled
chore: sync full codebase from cicd branch
Aligns dev with the complete application codebase (cicd branch).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 12:56:16 +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}`;