The My First Bitcoin brand as code: a Tailwind preset, CSS variables, and raw design tokens. Generated from the canonical tokens.json (Figma → sync-brand.js). Do not edit generated files by hand.
"dependencies": { "@myfirstbitcoin/design": "github:MyFirstBitcoin/mfb-design#v1.2.0" }// tailwind.config.mjs
import mfb from '@myfirstbitcoin/design/tailwind';
export default { presets: [mfb], content: ['./src/**/*.{astro,html,js,ts}'] };/* global.css */
@import '@myfirstbitcoin/design/theme.css';@import '@myfirstbitcoin/design/brand.css'; /* var(--mfb-purple-400), var(--mfb-gradient-brand) ... */@import '@myfirstbitcoin/design/supergraphics.css';The signature MFB shapes as ready-made classes: sg-para / sg-para-frame (13° parallelograms), sg-spotlight / sg-spotlight-frame (13°+24° corner cuts), sg-book / sg-book-frame / sg-book-stack, sg-cover, sg-halftone-cutout, sg-para-pattern, highlighter band. Never hand-roll these shapes in a page — the brand angle is exactly 13° (--sg-angle-base) and hand-rolled copies drift. The file is standalone (token prelude included), so it works with theme.css-only Tailwind 4 setups.
Both utility conventions are served: top-level (preferred for new pages) and mfb- prefixed (legacy, e.g. roadmap). Utilities use the brand palette at the top level (e.g. bg-purple-400, text-orange-300, text-gray-900, text-h1), overriding Tailwind's default purple/orange/gray with MFB brand values. Other defaults (red, blue, etc.) are untouched. Plain CSS variables are namespaced --mfb-* to avoid collisions.
Logos, badges, and the brand book PDF live in MyFirstBitcoin/mfb-brand.