Tailwind Setup
Register 'belle_epoque' as a utility class (font-belle-epoque) — pick the config style that matches your project.
Load from catalog
Classic Config
tailwind.config.js
JS-based config — works on Tailwind v3, and on v4 in JS-config compatibility mode.
// tailwind.config.js — classic JS config
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
fontFamily: {
belle-epoque: ['belle_epoque', 'sans-serif'],
},
},
},
};CSS-First Config
Tailwind v4+
Native @theme syntax — no config file, everything lives in CSS.
/* globals.css — Tailwind v4+ CSS-first config */
@import "tailwindcss";
@font-face {
font-family: 'belle_epoque';
src: url('https://assets.typamine.com/fonts/files/5122a2ca-4e89-4e3c-a8af-df64ffa977ba.woff2') format('woff2');
font-display: swap;
}
@theme {
--font-belle-epoque: 'belle_epoque', sans-serif;
}
/* Usage: <p className="font-belle-epoque">...</p> */