Tailwind Setup
Register 'anderson_the_myster' as a utility class (font-anderson-the-myster) — 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: {
anderson-the-myster: ['anderson_the_myster', '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: 'anderson_the_myster';
src: url('https://assets.typamine.com/fonts/files/964c430b-6349-4337-806c-dcaa60c6ac72.woff2') format('woff2');
font-display: swap;
}
@theme {
--font-anderson-the-myster: 'anderson_the_myster', sans-serif;
}
/* Usage: <p className="font-anderson-the-myster">...</p> */