Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/lib/@unocss/presets.ts>presetTypography

The Full-stack Framework in Deno.
Go to Latest
function presetTypography
import { presetTypography } from "https://deno.land/x/aleph@1.0.0-alpha.63/lib/@unocss/presets.ts";

UnoCSS Preset for Typography

// unocss.config.js
import { presetAttributify, presetUno, defineConfig, presetTypography } from 'unocss'

export default defineConfig({
  presets: [
    presetAttributify(), // required if using attributify mode
    presetUno(), // required
    presetTypography()
  ]
})

Parameters

optional
options: TypographyOptions

Returns

Preset

typography preset