Skip to main content
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.75/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