Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSOpts

Config options supported by css and its helper functions.

Hierarchy

  • CSSOpts

Index

Properties

autoprefix

autoprefix: string[] | Set<string>

Array or set of properties to prefix automatically. If given, each listed property will be prefixed with values given under vendors.

By default, no properties are prefixed.

depth

depth: number

Current tree depth. Internal use only. Ignore.

fns

fns: IObjectOf<FnAny<RuleFn>>

Dictionary object for JSON->CSS conversion Maps keys to rule functions. See quoted-functions.ts

format

format: Format

CSS output format config. Two presets are included: COMPACT (default), PRETTY

scope

scope: string

Optional scoping suffix for CSS classes

vendors

vendors: string[]

Prefix strings for props under autoprefix Defaults to DEFAULT_VENDORS object.

Generated using TypeDoc