Tailwind CSS
@themvora/tailwind
Tailwind v4Tokens4 exports
Tailwind CSS v4 mappings from theme tokens to utility variables.
Verified with Themvora 2.0.0·Updated 2026-09-17
Prerequisites
Package Manager
npm, pnpm, yarn, or bun
Dependencies
@themvora/core (peer dependency)
Use Case
Tailwind CSS projects with theme support
Installation
Install the integration — @themvora/core is pulled in automatically as a dependency.
pnpm add @themvora/tailwindQuick Start
Complete copy-paste usage for this package.
@import "tailwindcss";
@import "@themvora/tailwind";API Reference
Curated highlights below. The complete generated reference — every signature, parameter and type — is at /api-reference/tailwind.
CSS
| Export | Description |
|---|---|
@theme mapping | Maps tokens to --color-*, --radius-*, --spacing-*, --font-*, --shadow-*. |
Dark variant | @custom-variant dark (&:where(.dark, .dark *)). |
Layers | theme.css / dark.css / preflight.css. |
Helpers
| Export | Description |
|---|---|
synchronizeDarkClass(theme) | Keeps the .dark class in sync. |