@nullhxyz/typography
v1.0.0
Published
NullH Typography Standard v1 — Poppins + Lora + DM Mono design tokens, @font-face declarations, and Tailwind preset. Self-hosted @ fonts.nullh.xyz.
Maintainers
Readme
@nullhxyz/typography
The NullH Typography Standard v1 — Poppins + Lora + DM Mono, served from fonts.nullh.xyz.
Install
npm install @nullhxyz/typographyUsage
Plain CSS / HTML projects
@import url('https://fonts.nullh.xyz/css/typography.css');React / Next.js / Vite
// app entry (e.g. _app.tsx, main.tsx, layout.tsx)
import '@nullhxyz/typography/fonts.css';
import '@nullhxyz/typography/tokens.css';Tailwind
// tailwind.config.js
module.exports = {
presets: [require('@nullhxyz/typography/tailwind')],
};Then use font-display, font-body, font-mono Tailwind classes.
TypeScript tokens
import { fonts, colors, cdn } from '@nullhxyz/typography';Rules
- Headings always Poppins.
- Body always Lora.
- Mono only for code and tabular numerics.
- No fourth font. Three total.
- Italic is Lora-only.
- Minimum body size 15px.
License
MIT (package). Fonts are SIL Open Font License.
See https://fonts.nullh.xyz for the full standard.
