Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConfigurationOptions

Hierarchy

  • ConfigurationOptions

Index

Properties

Optional darkMode

darkMode: "media" | "class"

Determines the dark mode strategy (default: "media").

Optional darkModeClass

darkModeClass: string

Class name to use if darkMode is class (default: "dark")

Optional hash

hash: Hasher | false

Optional init

init: OnInit

Called right before the first rule is injected.

Optional injector

injector: Injector

Style insertion methodology to be used.

Optional mode

mode: Mode

Optional nonce

nonce: string

Sets a cryptographic nonce (number used once) on the enclosing <style> tag when generating a page on demand.

Useful for enforcing a Content Security Policy (CSP).

Optional plugins

plugins: Record<string, Plugin>

Optional prefix

prefix: Prefixer

Auto-prefixer method for CSS property–value pairs.

Optional theme

Generated using TypeDoc