Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/plugins/twindv1_deps.ts

The next-gen web framework.
Extremely Popular
Go to Latest
import * as fresh from "https://deno.land/x/fresh@1.5.4/plugins/twindv1_deps.ts";

Variables

Injects styles into the global scope and is useful for applications such as gloabl styles, CSS resets or font faces.

Note: The styles will be injected on first use.

A proxy to the currently active Twind instance.

Combines tw and cx.

Functions

Looks for a matching dark color within a tailwind color palette (50, 100, 200, ..., 800, 900).

f
colorFromTheme
deprecated

Used for static HTML processing (usually to provide SSR support for your javascript-powered web apps)

Constructs class strings conditionally.

Used for static HTML processing (usually to provide SSR support for your javascript-powered web apps)

f
fromMatch
deprecated
f
fromTheme
deprecated

Returns a sheet useable in the current environment.

Used for static HTML processing (usually to provide SSR support for your javascript-powered web apps)

Type Aliases

Allows to return a dark color for the given light color.

Allows to extract the supported properties of a style function.