Skip to content

API Reference

@theme-kit/tailwind

Tailwind CSS v4 mappings from theme tokens to utility variables.

Functions

createTailwindPlugin(options?): { name: string }

ParameterTypeDescription
optionsTailwindPluginOptions (optional)

Returns { name: string }


synchronizeDarkClass(theme): void

ParameterTypeDescription
theme{ meta?: { mode?: string } }

Returns void


Interfaces

TailwindPluginOptions

MemberTypeDescription
defaultTheme (optional)string
themes (optional)readonly ThemeDefinition<string>[]

Variables

themeCSS

"/* Theme CSS is available at ./theme.css */"


@theme-kit/tailwind — API Reference — Theme Kit