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

Twind

interface Twind <Theme extends BaseTheme = BaseTheme, Target = unknown> {
(tokens: StringLike): string;
readonly config: TwindConfig<Theme>;
readonly target: Target;
readonly theme: ThemeFunction<ExtractUserTheme<Theme>>;
clear(): void;
destroy(): void;
snapshot(): RestoreSnapshot;
}

§Type Parameters

§
Theme extends BaseTheme = BaseTheme
[src]
§
Target = unknown
[src]

§Call Signatures

§
(tokens: StringLike): string
[src]

§Properties

§
readonly config: TwindConfig<Theme>
[src]
§
readonly target: Target
[src]
§
readonly theme: ThemeFunction<ExtractUserTheme<Theme>>
[src]

§Methods

§
clear(): void
[src]

Clears all CSS rules from the sheet.

§
destroy(): void
[src]