Skip to main content
Module

x/ter/deps.ts>TwindConfiguration

A tiny wiki-style site builder with Zettelkasten flavor.
Go to Latest
interface TwindConfiguration
import { type TwindConfiguration } from "https://deno.land/x/ter@0.12.2/deps.ts";

Properties

optional
darkMode: DarkMode

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

optional
theme: ThemeConfiguration
optional
plugins: Record<string, Plugin | undefined>
optional
variants: Record<string, string>
{
  ':new-variant': '& .selector',
}
optional
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
sheet: Sheet

Style insertion methodology to be used.

optional
preflight: Preflight | boolean | CSSRules

Called right before the first rule is injected.

optional
prefix: Prefixer | boolean

Auto-prefixer method for CSS property–value pairs.

optional
hash: Hasher | boolean
optional
mode:
| Mode
| "strict"
| "warn"
| "silent"
optional
important: boolean

Control whether or not utilities should be marked with !important