Tailwind Setup
Register 'through_the_black' as a utility class (font-through-the-black) — 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: {
through-the-black: ['through_the_black', '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: 'through_the_black';
src: url('https://assets.typamine.com/fonts/files/9de4adbf-a143-4757-b5fc-5842ac1cdbea.woff2') format('woff2');
font-display: swap;
}
@theme {
--font-through-the-black: 'through_the_black', sans-serif;
}
/* Usage: <p className="font-through-the-black">...</p> */