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

§Variables

animation
apply
escape
injectGlobal

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

keyframes

Note: The styles will be injected on first use.

shortcut
style
tw

A proxy to the currently active Twind instance.

tx

Combines tw and cx.

§Functions

arbitrary
asArray
auto
autoDarkColor

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

colorFromTheme deprecated
consume

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

css
cssom
cx

Constructs class strings conditionally.

defineConfig
dom
extract

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

fromMatch deprecated
fromTheme deprecated
getAutocompleteProvider
getSheet

Returns a sheet useable in the current environment.

hash
identity
inline

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

install
match
matchColor
matchTheme
mo
mql
noop
normalize
observe
parse
parseValue
setup
stringify
toColorValue
toCSS
twind
virtual
withAutocomplete

§Interfaces

AnimationFunction
AutocompleteContext
BaseProperties
BaseTheme
ClassObject
ColorFromThemeOptions
ColorFromThemeValue
ColorFunctionOptions
ColorRecord
Context
CSSNested
CustomProperties
ExtractResult

Result of extract

InjectGlobalFunction
InlineMinify
InlineOptions

Options for inline

KeyframesFunction
ParsedDevRule
ParsedRule
PresetThunk
Sheet
SheetRule
Style
StyleConfig
StyleFunction
ThemeFunction
ThemeSectionResolver
ThemeSectionResolverContext
Twind
TwindConfig
TwindMutationObserver
TwindPresetConfig
TwindRule
TwindUserConfig
TxFunction

§Type Aliases

Animation
ArrayType
AutocompleteItem
AutocompleteModifier
AutocompleteProvider
Class
ColorFunction
ColorValue
CSSBase
CSSFontFace
CSSObject
CSSProperties
CSSValue
DarkColor

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

DarkModeConfig
DefaultVariants
ExtractTheme
ExtractThemes
ExtractUserTheme
Falsey
FilterByThemeValue
Finalize
HashFunction
KebabCase
Keyframes
MatchConverter
MatchResult
MaybeArray
MaybeColorValue
MaybeThunk
MorphVariant
Nested
NestedFunction
PartialTheme
Preflight
PreflightThunk
Preset
PropsOf

Allows to extract the supported properties of a style function.

RestoreSnapshot
Rule
RuleResolver
RuleResult
ScreenValue
SheetFactory
StrictMorphVariant
StringifyDeclaration
StringLike
StyleProps
StyleToken
StyleTokenValue
ThemeConfig
ThemeMatchConverter
ThemeMatchResult
ThemeRuleResolver
ThemeSection
ThemeValue
TypedAtRules
TypedAtRulesKeys
UnionToIntersection
Variant
VariantResolver
VariantResult
VariantsProps
When