Packages
A twind preset that provides a set of prose
classes you can use to add beautiful typographic defaults to any vanilla HTML you don't control, like HTML rendered from Markdown, or pulled from a CMS.
- 📖 Study the documentation
- 🧭 Explore the examples
- 📜 Read the changelog
Functions
default
▸ default(...«destructured»?
): Preset
<TypographyTheme
>
Twind Preset for Typography
js
// twind.config.js
import { defineConfig } from '@twind/core'
import presetTypography from '@twind/preset-typography'
export default defineConfig({
presets: [
presetTypography(),
],
})
Parameters
Name | Type |
---|---|
...«destructured» | TypographyOptions |
Returns
typography preset
Defined in
packages/preset-typography/src/index.ts:238