Mixins / foldkit-mixins/prose

ProseOptions

interface · packages/mixins/src/prose.ts:11

interface ProseOptions {
  readonly measure?: string
  readonly leading?: string
  readonly rhythm?: Partial<{
    readonly paragraph: string
    readonly heading: string
    readonly list: string
    readonly figure: string
  }>
}

Members

ProseOptions.measure

property · packages/mixins/src/prose.ts:13

readonly measure?: string

The line length, e.g. '65ch'.

ProseOptions.leading

property · packages/mixins/src/prose.ts:15

readonly leading?: string

The line height, e.g. '1.75'. Default: the theme's relaxed leading.

ProseOptions.rhythm

property · packages/mixins/src/prose.ts:17

readonly rhythm?: Partial<{
  readonly paragraph: string
  readonly heading: string
  readonly list: string
  readonly figure: string
}>

The space before an element, by what it follows.