simulate_jit_compilation
Validates Tailwind utility classes by compiling them through the JIT engine and returns the generated CSS rules. Supports arbitrary values, modifiers, and custom plugin classes.
Instructions
Validates Tailwind utility classes against the JIT engine by programmatically compiling them. Supports complex arbitrary values, JIT modifiers, and custom plugin classes. Returns the generated CSS rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css_path | No | Optional path to the project's CSS entry file (for Tailwind v4 custom theme styles) | |
| config_path | No | Optional path to tailwind.config.js/ts (for Tailwind v3 custom configs) | |
| class_string | Yes | Space-separated Tailwind class string to compile |