Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Configuration

interface Configuration {
darkMode?: DarkMode;
hash?: Hasher | boolean;
important?: boolean;
mode?:
| Mode
| "strict"
| "warn"
| "silent";
nonce?: string;
plugins?: Record<string, Plugin | undefined>;
prefix?: Prefixer | boolean;
preflight?: Preflight | boolean | CSSRules;
sheet?: Sheet;
variants?: Record<string, string>;
}

§Properties

§
darkMode?: DarkMode
[src]

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

§
hash?: Hasher | boolean
[src]
§
important?: boolean
[src]

Control whether or not utilities should be marked with !important

§
mode?: Mode | "strict" | "warn" | "silent"
[src]
§
nonce?: string
[src]

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).

§
plugins?: Record<string, Plugin | undefined>
[src]
§
prefix?: Prefixer | boolean
[src]

Auto-prefixer method for CSS property–value pairs.

§
preflight?: Preflight | boolean | CSSRules
[src]

Called right before the first rule is injected.

§
sheet?: Sheet
[src]

Style insertion methodology to be used.

§
variants?: Record<string, string>
[src]
{
  ':new-variant': '& .selector',
}