我所理解的 UnoCSS 最佳实践(4):Tailwind CSS 与 UnoCSS 的兼容边界
- 为什么选择 UnoCSS
- CSS 如何减少重复
- 语义类名与工具类的工程实践
- Tailwind CSS 与 UnoCSS 的兼容边界(当前)
- Wind3 与 Wind4 的区别与迁移
- 工具类、任意值与任意属性怎么选
- 利用 Lint 规范写法
@apply ease; 在 Tailwind 默认配置里报错,在 UnoCSS Wind3 中却能正常展开。工程实践篇的工具检查需要面对这类差异:同一个 token,换一套规则以后就可能有效,检查不能跨工具原样复用。
更麻烦的是另外一种情况:两边都接受同一个类名,页面效果却不同。它可能被解释成另一种属性,也可能受到默认主题、状态条件或 CSS 层叠的影响。只检查有没有报错,发现不了这些变化。
这里比较 Tailwind CSS 与 UnoCSS 的使用边界,重点放在「语义类名 + SCSS + apply」会遇到的问题。从 Tailwind 示例复制工具类时,可以用带版本的查询表核对写法,再看实际生成的声明。接入 Nuxt UI 时,还要决定由哪个编译器处理组件的默认样式。
先确定比较的是哪一组实现
Tailwind CSS 有自己的编译器和默认主题。UnoCSS 是生成引擎,工具类主要由预设、规则和变体提供,@apply 另外由 directives transformer 处理。因此,不能只问「UnoCSS 支不支持 Tailwind」,还要问项目装了什么预设和 transformer。
这次在 2026-11-02 固定了四组默认配置,没有加入业务主题或自定义规则:
| 对照组 | 版本和入口 | 本文怎样使用 |
|---|---|---|
| Tailwind v3 | tailwindcss@3.4.17 |
PostCSS 编译,默认主题 |
| Tailwind v4 | tailwindcss@4.3.3 |
编译器 API,载入该版本的 theme.css;页面检查另包含默认 preflight 和层叠层 |
| UnoCSS Wind3 | UnoCSS 66.12.0 + presetWind3() |
引擎生成工具类,默认 directives 处理 apply |
| UnoCSS Wind4 | UnoCSS 66.12.0 + presetWind4() |
同样检查工具类和 apply,页面使用预设默认生成结果 |
Wind3 的官方说明明确保留了兼容限制。Wind4 面向 Tailwind v4 的能力补充,也继续保留一些 UnoCSS / Wind3 的语法;它们之间没有一一替换的承诺。
实验覆盖工具类生成、apply 转换、原始模板提取和 Chromium 计算样式,还用实际 Vite 构建复验了 UnoCSS 的未知 apply 输入。完整输入、CSS 和版本见四组兼容性实验记录弹窗。这轮没有做完整框架迁移、HMR、SSR、Safari、Firefox 或真实触屏设备验收。
Wind3 / Wind4 是两套预设,分别参考 Tailwind v3 / Windi CSS 与 Tailwind v4 的工具类体系。它们决定这里比较的默认规则与主题;apply 仍需另行启用 directives。预设区别、可选扩展和升级检查,集中放在《Wind3 与 Wind4 的区别与迁移》。
语法规律:归纳表达方式
p-16px、p-24px 属于同一条数值语法,逐项列出尺寸没有帮助。这里记录规则族及其边界;表内样例通过编译,不代表所有属性、单位和变体组合都有效。
| 规律 | UnoCSS 样例 | Tailwind 默认配置的对应处理 |
|---|---|---|
| 数值直接带单位 | p-16px、m-1.5rem、w-100% |
通常用 p-[16px] 一类任意值 |
| 省略颜色色阶或使用别名前缀 | text-red、color-red-500 |
需要明确颜色与色阶,不能机械补成 500 |
| 不透明度简写 | op-50、text-op-50 |
区分整体 opacity 与颜色透明度,再选择对应表达 |
| 断点、主题前缀 | lt-md:hidden、at-md:flex、@dark:bg-red-500 |
核对断点区间及主题触发条件 |
| 子元素、后代前缀 | children:p-2、all:p-2 |
核对生成选择器,区分直接子项与全部后代 |
| 逻辑方向滚动间距 | 本次 Wind3/4 未生成 scroll-ms-4、scroll-ps-4 |
两组 Tailwind 都生成;按 scroll-ms-* 规则族记录,不逐项枚举刻度 |
| important 位置 | !p-4、p-4! |
前置本次四组接受;后置 Tailwind v3 不接受,v4 接受 |
完整样例的四组支持位可在兼容性查询页的「语法规律」中查看。
三种常见的 CSS 变量引用
以背景颜色引用 --brand 为例,这次比较三种工具类拼写:
| 写法 | Tailwind v3 | Tailwind v4 | Wind3 | Wind4 |
|---|---|---|---|---|
bg-$brand |
未生成 | 未生成 | 生成 | 生成 |
bg-[var(--brand)] |
生成 | 生成 | 生成 | 生成 |
bg-(--brand) |
未生成 | 生成 | 未生成 | 生成 |
bg-$brand 是 UnoCSS 的变量简写,bg-(--brand) 则是 Tailwind CSS 的变量简写,在表中的 Wind4 也能生成样式。这三种写法最终都用浏览器的 var(--brand)。任意属性、类型提示和 fallback 还能组合出别的写法。Vue 的 CSS v-bind()走的是另一条编译路径,由 SFC 编译器把组件状态转换成 CSS 自定义属性。
分组还取决于转换入口
UnoCSS directives 可以展开:
.button {
@apply hover:(bg-red-500 text-white);
}
本次两组 Tailwind apply 都因未知 token 报错。Tailwind 可以重复完整前缀,v4 还可用自己的 @variant,但不能原样复制 UnoCSS 的分组。
directives 自己处理 apply 中的分组;模板里的同样写法则要额外配置 variant-group transformer。这是源码转换入口的差别,不能算成 Wind 预设内置了所有 transformer。
固定词汇:按版本与预设枚举
ease、accent-auto 这类完整基础名字适合逐项登记。不过「固定词汇」不等于「源码中的静态规则」:某些名字由正则可选分支匹配,动画、字体和尺寸名称也可能来自默认主题。
这次把固定版本的补全项、静态规则、锚定正则的有限分支和默认主题命名值合并,再逐项检查四组生成器,得到 3,370 个固定基础名字。排除数值刻度、任意值与变体组合;text-2xl、shadow-2xs 和 transform-3d 仍属于命名词汇。它覆盖了这些有限来源,不保证穷尽所有动态规则或自定义主题。
下面是代表差异,完整枚举使用查询页的「固定词汇」;每项保留四组支持位与候选出处,可搜索、分页、按方向筛选并下载 JSON。
| 固定名字 | Tailwind v3 | Tailwind v4 | Wind3 | Wind4 |
|---|---|---|---|---|
ease、animate-fade-in、animate-bounce-alt |
未生成 | 未生成 | 生成 | 生成 |
accent-auto、decoration-clone、decoration-slice、mix-blend-plus-darker |
生成 | 生成 | 未生成 | 未生成 |
duration-initial、justify-baseline、mask-circle、mask-ellipse |
未生成 | 生成 | 未生成 | 未生成 |
scrollbar-none、scrollbar-thin |
未生成 | 生成 | 未生成 | 生成 |
contain-inline-size |
生成 | 生成 | 生成 | 未生成 |
未生成某个名字不表示无法表达对应 CSS。比如本次 box-decoration-clone 四组都生成,逻辑滚动间距也可以使用明确的任意属性。项目注册同名 utility 后,默认支持表还会变化。
完整候选保留作检查证据
包括数值、负值和手选变体在内,候选共 25,699 项。查询页的「完整候选数据」继续保留这些逐项结果,不能把它们当成固定关键字数量或兼容率。固定词汇另外经过 13,480 次公开生成入口支持检查;77 个手选样例还有 308 次公开编译交叉检查。Tailwind v3 按完整 class 选择器核对,避免误认较短片段。
| 本次完整候选范围 | UnoCSS 生成、Tailwind 未生成 | Tailwind 生成、UnoCSS 未生成 |
|---|---|---|
| Wind3 与 Tailwind v3 | 4,457 | 253 |
| Wind3 与 Tailwind v4 | 1,740 | 9,715 |
| Wind4 与 Tailwind v3 | 13,954 | 218 |
| Wind4 与 Tailwind v4 | 1,836 | 279 |
逐项支持位、候选来源和代表输入 CSS 见盘点范围与完整结果弹窗。这些数据是固定版本快照,不能直接变成跨项目永久黑名单。
同名语义差异:接受后还要验证结果
工具类能生成,只证明名字被接受;属性类型、默认值、条件和选择器仍可能不同。「同名语义差异」入口保留这些已验证的对照,正文继续解释它们为什么影响页面。
ease 还存在语义差别
Wind3 的 ease 展开为 cubic-bezier(0.4, 0, 0.2, 1),并非 CSS 原生的 ease 曲线。希望在几组实现之间保留相同含义,应明确自己要哪种效果:
.button {
// 保留 CSS 原生 ease。
@apply ease-[ease];
}
.dialog {
// 保留本次 Wind3 ease 对应的曲线。
@apply ease-in-out;
}
Tailwind 的 v3 与 v4 都有 ease-* 和任意值写法;没有项目扩展时,不能直接使用裸 ease。因此,针对 Tailwind 的已知错法名单,应限制在 Tailwind 文件与配置中。
text-red 也有类似问题。本次 Wind3 输出的是 rgb(248 113 113 / ...),不是 text-red-500 的红色。补上色阶后虽然更明确,跨 Tailwind v3、v4 时仍需检查色板是否改变。
任意值的类型推断会改变属性
这一类差异比 unknown utility 更隐蔽,因为四组都识别了下面的输入:
<div class="bg-[center_top_1rem]"></div>
bg-* 可能表示背景颜色、图片、位置等不同属性。省略类型后,四组都生成了 CSS,但 Chromium 里只有 Tailwind 的两组改变了背景位置。下面保留生成的关键声明、背景位置的计算值,以及对结果的解释。
| 观察项 | Tailwind v3 | Tailwind v4 | Wind3 | Wind4 |
|---|---|---|---|---|
| CSS 声明 | background-position: center top 1rem |
background-position: center top 1rem |
background-color: center top 1rem |
background-color: color-mix(in oklab, center top 1rem var(--un-bg-opacity), transparent) |
| 背景位置计算值 | 50% 16px |
50% 16px |
0% 0% |
0% 0% |
| 声明效果 | 背景位置生效 | 背景位置生效 | 颜色值无效 | 混色表达式的颜色值无效 |
给出属性类型后,本次四组都生成了背景位置:
<div class="bg-[position:center_top_1rem]"></div>
Wind3 的差异说明也记录了这个例子。迁移 bg-*、text-* 等多义前缀时,要检查生成的属性名,而不仅是 class 是否被识别。普通 CSS 声明也可以直接表达这里的 background-position。
默认主题、reset 和交互条件
语法迁移完成后,页面仍可能变化。本次四组对照使用同一份 HTML,Tailwind 页面包含对应版本的默认 base / preflight,UnoCSS 页面使用所选预设的默认输出:

Wind3 和 Wind4 的 reset 不能一起概括
本次 Wind3 页面没有额外导入 reset,body 保留了浏览器的 8px margin,标题仍有默认字号和外边距,按钮保留原生外观。Tailwind v3、v4 的 preflight 都改变了这些初始样式。
Wind4 默认输出已经包含 reset,本次 body margin 为 0px。因此,「UnoCSS 默认不提供 reset」只能结合具体预设理解,不能直接套在 Wind4 上。Wind3 可以按需引入 reset 样式,Wind4 则有内置的 preflights.reset 开关。
预设为工具类初始化内部 CSS 变量,与把浏览器原生元素样式重置成 Tailwind preflight,也不是同一件事。迁移时要同时核对原生按钮、标题、表单、边框和 box-sizing。
同名视觉尺寸也会变化
在根字号为 16px、没有主题覆盖的本次样例中:
| 工具类 | Tailwind v3 | Tailwind v4 | Wind3 | Wind4 |
|---|---|---|---|---|
p-4 |
16px |
16px |
16px |
16px |
rounded-sm |
2px |
4px |
2px |
4px |
ring |
3px,默认蓝色 |
1px,默认 currentColor |
3px,蓝色值与 Tailwind v3 不同 |
1px,默认 currentColor |
shadow-sm 的默认阴影也发生了变化。Tailwind 的升级指南说明了圆角、阴影、ring 等调整。Wind3 与 Wind4 各自接近不同的默认体系;即使几项数值相同,也不能据此推导全部主题等价。
这类差异最好用实际色值、尺寸和关键状态截图验证。仅比较工具类数量,或者检查它们都能编译,无法判断视觉迁移是否完成。
dark 和 hover 的生效条件
默认配置下,本次 Tailwind v3、v4 的 dark: 跟随 prefers-color-scheme;Wind3、Wind4 则由祖先上的 .dark 触发。只复制 dark:bg-red-500,没有同步主题切换机制,就会出现系统主题或手动主题不生效的现象。Tailwind 深色模式、Wind3 深色模式都提供了修改入口。
悬停也要检查媒体条件。Tailwind v4 为本次 hover:bg-red-500 生成了 (hover: hover) 媒体查询;Tailwind v3、Wind3 和 Wind4 的默认产物没有同样的查询。Chromium 的无悬停能力模拟中,强制建立 hover 后,只有本次 Tailwind v4 的颜色仍不生效。
这验证的是媒体查询条件,不能替代真实手机对 hover 保留、点击和焦点的验收。若项目要求只在支持悬停的设备上应用样式,应显式核对预设选项或写出相应媒体条件,而不是从 hover: 的名字推断行为一致。
选择器关系和层叠顺序
有些 utility 会把声明写到子元素、兄弟节点或条件块中。即使属性和值没变,命中对象或优先级改变,页面结果也会不同。
变体叠加不宜机械交换顺序
Tailwind v3 到 v4 本身就改变了部分变体的叠加方向。UnoCSS 的变体组合还有自己的处理方式,不能套用 Tailwind 的版本迁移规则。
例如同样是 *:first:pt-0,本次生成的关键选择器如下。为了阅读,将原本转义后的工具类选择器统一写为 .probe:
/* Tailwind v3:元素本身是首子项时,选中它的所有直接子元素。 */
.probe:first-child > * { padding-top: 0; }
/* Tailwind v4:选中元素的直接子元素,再限定其中的首子项。 */
:is(.probe > *):first-child { padding-top: 0; }
/* Wind3、Wind4:本次也限定直接子元素中的首子项。 */
.probe > *:first-child { /* padding-top 的值已省略 */ }
交换成 first:*:pt-0 后,Tailwind v3、v4 的这组关系随之交换;本次 Wind3、Wind4 的两种输入却仍生成同一关系。实验另外用「父元素不是首子项、其内部有首子项」的 DOM 检查了实际 padding,避免只凭选择器字符串判断。
这不是说所有变体组合都不同。简单的 hover:、focus: 往往更容易对齐;涉及子元素、兄弟节点、first、last 或任意选择器时,应保留完整 DOM 和选择器核验。业务关系比较复杂时,显式 SCSS 选择器也能减少迁移中的歧义。
space-x-2 同样依赖选择器语义。Tailwind v3 与 Wind3 的本次输出使用后续兄弟、排除 [hidden];Tailwind v4 与 Wind4 则使用非末项和逻辑方向 margin。隐藏子项、外部 margin、RTL 等条件改变后,需要另做布局验证,不能只看 0.5rem 这个值。
断点名称相同,边界未必完全相同
max-md:hidden 本次四组都能生成,但条件分别是:
| 实现 | 默认条件 |
|---|---|
| Tailwind v3 | not all and (min-width: 768px) |
| Tailwind v4 | width < 48rem |
| Wind3 | max-width: 767.9px |
| Wind4 | max-width: calc(48rem - 0.1px) |
普通整数视口下可能看不出区别,临界宽度、分数 CSS 像素及单位条件仍可能影响结果。lt-md: 在 UnoCSS 中可用,也不能直接当作 Tailwind 默认前缀使用。已有页面的断点要按原条件验证,不只做名称替换。
UnoCSS 的 layers 不自动等于原生 layer
截图中,override 的绿色声明写在生成 CSS 之前,元素同时拥有 text-red-500 和 override。Tailwind v3、Wind3、Wind4 最终是红色;采用默认原生层叠层组织的 Tailwind v4 则是绿色。
原因是普通、无 layer 的声明优先于原生 layer 内的普通声明,而不只取决于文件中的先后。UnoCSS 默认输出中的 /* layer: default */ 是组织注释,不会自动产生同样的原生层叠语义。
UnoCSS 可以配置 outputToCssLayers 输出原生 @layer,但迁移时仍要核对层名、层次和未分层的第三方 CSS。!important 的层叠顺序还有自己的规则,不能套用普通声明的判断。
这里比较的是生成的全局 utility。apply 展开到业务选择器后,声明处于目标选择器所在的层和作用域,结果需要重新判断,不能原样套用这张截图的颜色结论。
apply 的共同边界和不同失败方式
apply 复用的是生成器能展开的样式。group、peer 是状态锚点,本身不产生视觉声明;把它们写进 apply,不能让元素获得对应的 DOM class。这个限制在 Tailwind 和 UnoCSS 中都成立。
完整的 group-hover:text-white 则不同:本次几组都能生成状态选择器,但仍然需要真实祖先上的 group 标记。模板只使用 BEM class 时,直接用组件的状态选择器表达关系更清楚。Vue scoped CSS 下还需核对最终选择器的作用范围。
未知 token 不一定在构建时暴露
下面的输入混合了一个合法工具类和一个未知 token:
.probe {
@apply flex definitely-not-a-utility;
}
Tailwind v3 与 v4 都会报 unknown utility。UnoCSS 66.12.0 的默认 directives 却只保留 display: flex,移除了原 apply。这一点在 Wind3、Wind4 的转换和实际 Vite CSS 构建里都出现了。
这个结果与发布包的 apply 实现对应。下方是 @unocss/transformer-directives@66.12.0 的关键处理,省略了排序、合并及选择器生成:
// packages-presets/transformer-directives/src/apply.ts,关键处理节选。
const utils = (await Promise.all(classNames.map(i => uno.parseToken(i, '-')))).filter(notNull); /* 后续排序、合并已省略 */
if (!utils.length) return;
这个版本的转换器先过滤未识别项。全部未知时,函数提前返回,产物里会留下原 apply。只要有一个可用项,它就生成声明并删除原指令。因此,搜索残留 apply 只能查到前一种情况。
因此,不能直接照搬「等构建时报错」的 Tailwind 经验。UnoCSS 的检查既要覆盖 token 解析,也要检查实际属性和页面。前文的背景位置例子又说明,token 有解析结果,也还可能生成无效值。
普通 class 和自定义 utility 的注册方式不同
这次还对比了同文件中的普通 class 复用:
.custom { color: red; }
.probe { @apply custom; }
Tailwind v3 在这个处理上下文里能内联 .custom;Tailwind v4 不再把普通 class 自动当成 utility,本次报错。UnoCSS 也不会因看到了 .custom 就自动注册它,原 apply 留在结果中。
Tailwind v4 用 @utility 注册后,同一实验可以展开;Wind3、Wind4 加默认 directives 时,这条 Tailwind 指令仍原样保留。UnoCSS 侧需要根据职责使用 rules 或 shortcuts,不能只复制 CSS 指令。
Tailwind v4 隔离样式块中的 @reference、CSS-first 的 @theme 和 @custom-variant 也属于它自己的编译协议。官方指令说明中的同名能力,不能因换上 Wind4 就默认可用。
主题、插件和构建链路也需要迁移
类名以外还有工具专有的编译语法,需要单独辨认:
| 能力或语法 | UnoCSS 的前提 | Tailwind 的情况 |
|---|---|---|
hover:(...) 分组 |
directives 能展开 apply 中的分组;template 需要 variant-group transformer | 默认不把这套括号分组作为完整 utility 语法 |
--at-apply / --uno-apply / --uno |
默认 directives 提供的 apply 别名 | 不作为 Tailwind apply 别名展开 |
Attributify、i-* 图标、class 编译等扩展 |
启用对应 preset / transformer 后才成立 | 不是 Tailwind 默认协议;第三方扩展需另查 |
@theme、@utility、@reference、@custom-variant、@variant、@source |
不属于默认 Wind3 / Wind4 + directives 的 Tailwind CSS-first 实现 | Tailwind v4 的编译指令,按其上下文使用 |
这些是语法和集成入口差异,不能和默认工具类数量混在一起。UnoCSS 的预设、transformer 与 Tailwind 的指令各有启用前提。
类名兼容之外,还有项目级入口需要处理:
| 迁移对象 | 需要重新核对的内容 |
|---|---|
| 默认主题和配置键 | Tailwind 配置、UnoCSS theme 不共享完整结构,需按目标工具重新映射 |
| 生成的主题变量 | Tailwind v4 常见 --color-red-500,本次 Wind4 使用 --colors-red-500;直接消费这些变量的业务 CSS 需要同步 |
| 插件和组件库 | Tailwind 的插件 API、CSS 指令以及依赖 --tw-* 的实现,不会自动变成 UnoCSS preset、rule 或 --un-* |
| 动态 class 与提取 | 两者都需要构建时能识别候选;运行时拼接类名不能因迁移而自动解决,扫描范围、safelist 和 transformer 要分别配置 |
| 预处理和浏览器 | Tailwind v4、Wind4 使用的现代 CSS 能力与旧链路不同;SCSS、目标浏览器及产物降级要按实际集成检查 |
Wind4 的主题迁移说明和生成变量示例保留了这些差别。切到 Wind4 能获得更多面向现代 CSS 的能力,不代表原来的 Tailwind CSS-first 配置或插件可以跳过迁移。
Tailwind v4 官方不以 Sass、Less、Stylus 搭配为目标。UnoCSS directives 在现有 SCSS 链路中可以继续使用,但仍受预处理器和框架插件阶段影响。Vue CSS v-bind() 与 apply 的顺序问题,见独立的 Vite 插件文章。
浏览器方面,Wind4 也会使用 @property、oklch、color-mix 和原生嵌套等能力。Wind4 的兼容性说明引用了 Tailwind 的浏览器要求,不能把 Wind3 的兼容经验直接当成 Wind4 的保证。本次 Chromium 通过,只证明这台测试引擎的结果。
UnoCSS 内部的 Wind3 → Wind4 迁移也需要独立检查。默认值、主题键、SSR / PostCSS 依赖和 Shadow Root 初始化,见预设区别与迁移;这些问题与跨 Tailwind 编译协议的迁移分别验证。
Nuxt UI 的样式交给谁编译
Nuxt UI 的 npm 包包含基础样式、主题变量和动画。按钮与选择器的默认主题还带有工具类,由构建器从组件主题中提取并生成样式。@nuxt/ui 的 CSS 入口引用构建时生成的 #build/ui.css,其中还要处理 @source 和 @custom-variant 等指令。把 Nuxt UI 引入已有 UnoCSS 的项目时,可以先决定是否要保留这套默认外观。组件行为与样式入口的分工可以从 Nuxt UI v4.12.0 的样式源码看出来。
保留两个编译器
如果业务组件已经使用 UnoCSS,同时希望保留 Nuxt UI 的默认外观,可以把 Tailwind 的职责限定在 Nuxt UI。把 Nuxt UI 的 theme.prefix 和 Tailwind 的 CSS 入口都设为 tw,组件生成的类名就会带上 tw:。项目已有全局 reset 时,Tailwind 入口只导入 theme.css 和 utilities.css,两项都用 prefix(tw),再导入 @nuxt/ui。配色可以通过根节点上的 CSS 变量共享。具体配置见 Nuxt UI 的前缀说明和 Tailwind 的 Preflight 文档。
前缀隔离了生成的类名,两个编译器仍然会遇到同名的 @apply。在 Vite 8.3.5、Tailwind CSS 4.3.4 和 UnoCSS 66.12.0 的最小项目中,把 @apply mt-23px rounded-13px 放进独立的普通 CSS 文件,即使它与 Tailwind 使用不同入口,仍会被 Tailwind 的 Vite 插件处理。插件对 mt-23px 报出 Cannot apply unknown utility class。
把相同的声明移到独立 SCSS 或 Vue 的 <style scoped lang="scss"> 后,UnoCSS 正常输出 margin-top: 23px 和 border-radius: 13px,Nuxt UI 按钮和选择器的 tw: 样式也同时生成。需要继续用普通 CSS 时,在这套链路里也可以用 UnoCSS directives 的 --at-apply: mt-23px rounded-13px;,让 UnoCSS 展开同样的声明。更换插件或调整转换顺序后,以实际产物为准。别名的用法见 UnoCSS directives 文档。
由 UnoCSS 生成默认主题
同一套主题类可以交给 UnoCSS 生成,但 Wind4 还需要 Nuxt UI 专用的颜色和状态规则。unocss-nuxt-ui 会注册这些规则,补上主题变量和动画,并把生成的组件主题加入扫描范围。它还会尝试移除 Nuxt UI 注入的 Tailwind Vite 插件。适配器负责的是构建接入,配置项和版本要求见 unocss-nuxt-ui 的项目文档。
LoL 职业库用 unstyled: true 保留表格行为,项目的 SCSS 负责外观。要验证 Nuxt UI 默认主题,可以用相同的 Nuxt、Nuxt UI 和 UnoCSS 版本另建一页,只放 UButton 和 USelect。下面的配置在 Nuxt 4.6.3、Nuxt UI 4.12.0、UnoCSS 66.12.0、Vite 8.3.6 和适配器 1.2.2 下验证。
import { defineNuxtConfig } from 'nuxt/config';
export default defineNuxtConfig({
modules: ['@nuxt/ui', 'unocss-nuxt-ui'],
ui: { fonts: false, colorMode: false },
});
只注册 unocss-nuxt-ui 时,最终的 Vite 插件列表仍出现 @tailwindcss/vite:generate:build。按上面的顺序显式注册后,客户端与服务端的最终配置都只剩 UnoCSS 的样式生成插件。判断编译器是否接管,要看最终插件列表。依赖树里的 Tailwind 包仍可作为 Nuxt UI 的传递依赖。
项目原本配置了 content.pipeline: false,只通过 directives 展开业务 SCSS。沿用这个设置时,业务区的 margin-top: 23px 仍然生效,UButton 却只有浏览器的默认外观。删除这项覆盖后,生成的组件主题进入了扫描范围,按钮有了间距和圆角,弹层也有了阴影。但此时 bg-default 缺少生成规则,菜单的计算背景仍是 rgba(0, 0, 0, 0)。在已有的 uno.config.ts 中显式加入适配器的预设,才能让这套配置生成语义颜色和变量。
import { defineConfig, presetWind4, transformerDirectives } from 'unocss';
import { presetNuxtUI } from 'unocss-nuxt-ui';
export default defineConfig({
presets: [presetNuxtUI(), presetWind4()],
transformers: [transformerDirectives()],
});
隔离页用 Wind4 的 reset 去掉浏览器的原生按钮边框。已有 reset 的页面可保留 preflights.reset: false,同时检查全局表单样式是否覆盖组件库的背景与间距。
用 nuxt build 生成产物,再启动 Nitro 服务验证 SSR 和浏览器交互。Chrome 157 中,将根节点在 .light 和 .dark 之间切换,选择器与弹层的背景都从 #FFFFFF 变为 #0F172B,取自计算颜色转换后的 sRGB 值。弹层挂在业务容器之外,宽度仍与触发器一致,并保留阴影。点击选项会更新值,按 Esc 关闭会把焦点还给触发器。这个结果覆盖这套版本里的按钮和选择器,换用其他组件时,按实际使用的主题和交互补验。
核验工具要读取实际配置
给 Agent 或开发者的约束,应先落到项目中实际使用的包、版本、预设、transformer、reset 和主题入口。同样写了 apply,不能因此启用同一份 token 黑名单;ease 和 text-white/72 已经展示了这种误报风险。
UnoCSS 也有会让编译失败的输入。默认 directives 处理下面这段 CSS 时,Wind3、Wind4 都因主题路径缺失而抛错,实际 Vite 构建也失败:
.probe {
color: theme('colors.not-a-real-color');
}
报错为 theme of "colors.not-a-real-color" did not found。提供明确的 fallback,例如 theme('colors.not-a-real-color', red) 后,本次输出为 color: red,构建通过。@screen no-such-breakpoint 也会因断点不存在而失败。这些是主题与指令解析错误,和未知 apply 项可能被过滤属于不同路径,补测结果见指令失败与状态标记记录弹窗。
目前维护的 Tailwind 窄规则可继续提示它所针对的已知错法;UnoCSS 则应调用自己的解析能力,覆盖 rules、shortcuts、variants 和主题配置。只复制 Tailwind 编译检查脚本,再把包名替换为 UnoCSS,不足以保证诊断等价。
我会按下面的顺序检查一次迁移:
- 用实际配置生成或转换输入,确认预期 token 能被识别;apply 要检查真实转换路径,不能只测模板提取。
- 核对生成的属性名、值和选择器。未知项消失、属性类型推断错误、条件变化,都是这里要暴露的结果。
- 带上 reset、主题变量和其他样式进入真实构建,检查层叠与框架作用域。
- 在页面中验证关键尺寸、颜色、状态、临界视口和交互。目标浏览器、触屏或 RTL 属于项目要求时,补相应环境验收。
这轮还遇到一个需要保留的反例:Wind3 差异文档提到模板引号提取限制,但本次默认提取器能从完整 HTML 中识别 before:content-['Hi']。它没有被列为这版已经确认的不兼容问题;换成其他提取器或集成方式时,再用实际输入核对。文档提供线索,当前版本的结果仍需验证。
现有 lint 能保护什么,还缺什么
| 现有检查 | 已保护的范围 | 值得补充的方向 |
|---|---|---|
tailwind-apply-no-css-value |
Tailwind 的 ease / linear 易错输入与 group/peer 标记,允许自定义放行 |
保持窄规则;其他未知 utility 交给真实 Tailwind 编译入口,不把 UnoCSS 名单全部列为错误 |
ui-no-unocss-class-in-template |
加载实际 UnoCSS 配置,识别 preset、shortcut、variant、自定义规则与 blocklist | 继续复用引擎思路;它保护模板风格,不验证 apply 中的未知项 |
unocss-prefer-css-var-shorthand |
提示部分无歧义的 [var(--x)] 改用美元简写 |
Wind4 的 bg-(--x) 也可纳入风格提示;保留类型提示、fallback、自定义语义与不自动修复的边界 |
unocss-prefer-responsive-variants |
按 Wind3 默认或显式传入的 px 断点表给提示,不读取实际配置 | Wind4 使用 rem 断点,值得增加保留原单位的配置与比较;不能一律按 16px 换算并宣称等价 |
vue-vite-unocss-plugin-order |
静态可见的标准 Vue/Vite 插件顺序 | 保留构建产物检查,不能从数组顺序证明完整转换链正确 |
最值得补充的是基于实际配置的 UnoCSS 未识别 apply 项检查:展开分组后逐项调用引擎,覆盖 rules、shortcuts、variants 与 blocklist,诊断缺失项而不自动猜替代写法。整条 apply 最后消失,仍可能只成功展开了其中的 flex,不能作为全部有效的证据。
固定词汇表适合提供回归样本与诊断建议;是否接受输入仍以项目配置为准。group/peer 在模板中承担 DOM 标记用途,在 apply 里不能添加标记,不能因为它们本身不生成视觉规则就全局禁用。这里列出的是补充建议,现有 lint 尚未增加上述新检查。
总结
Tailwind 与 UnoCSS 的相似之处,主要体现在大量工具类词汇和组合方式上。迁移时还会经过任意值推断、指令转换、主题、选择器、reset 与层叠,这些层次没有自动等价。
迁移时先用 ease 这样的候选检查它能不能展开,再对照背景位置等确实有视觉影响的声明。未知的 @apply 候选可能被编译器忽略,构建结束后还需要看生成的 CSS 和页面里的实际效果。
上一篇:语义类名与工具类的工程实践。
下一篇:Wind3 与 Wind4 的区别与迁移。
Tailwind 与 UnoCSS 的四组兼容性实验
打开原文件 compatibility-matrix.json
记录固定 Tailwind 3.4.17、Tailwind 4.3.3、UnoCSS 66.12.0 的 Wind3 / Wind4,均无业务主题和自定义 utility。共 33 个 token 的四组生成结果、10 类 apply 输入的四组转换、两组 UnoCSS 原始模板提取、四组页面计算样式,以及 12 个实际 Vite CSS 构建样例。
Tailwind v4 的 token / apply 检查通过编译器 API,主题使用该版本 theme.css 的 reference 模式;页面检查加入默认 preflight 和 theme, base, components, utilities 层。它不模拟完整的 Vite 插件、文件扫描或 CSS 优化流程。
UnoCSS 的 token 检查直接传入集合,避免把扫描和规则解析混成一个结果。模板引号另外经过原始 HTML 提取;页面加载全量所需主题和 preflight。选择器样例的初始 padding 放进更早的 fixture layer,避免基线覆盖待测 utility;层叠样例的 override 则有意保持无 layer。
Chromium 的桌面和无悬停能力模拟只验证相应媒体条件,未验真实手机。记录不包含 Safari、Firefox、SSR、HMR、Less、框架包装或完整站点迁移的保证。
维护脚本位于博客仓库 tools/probes/tailwind-unocss-compat.ts。Tailwind 的两个版本通过隔离目录中的 tailwindcss-v3、tailwindcss-v4 npm alias 加载,未替换博客自己的 UnoCSS 依赖。sourceEvidence 保留发布包 apply 路径的真实节选,integration 区分转换结果与 Vite 构建结果。
完整输入、CSS、计算样式与构建结果
{
"checkedAt": "2026-11-02T02:24:36.969Z",
"versions": {
"unocss": "66.12.0",
"tailwind3": "3.4.17",
"tailwind4": "4.3.3",
"node": "v26.12.0",
"chromium": "156.0.8078.4",
"vite": "8.3.5",
"postcss": "8.5.32"
},
"scope": "默认预设,无业务主题;token 编译、apply 转换、原始模板提取、Chromium 计算样式与 Vite CSS 构建。",
"tokens": {
"wind3": [
{
"token": "ease",
"recognized": true,
"css": "/* layer: default */\n.ease{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}"
},
{
"token": "ease-[ease]",
"recognized": true,
"css": "/* layer: default */\n.ease-\\[ease\\]{transition-timing-function:ease;}"
},
{
"token": "ease-linear",
"recognized": true,
"css": "/* layer: default */\n.ease-linear{transition-timing-function:linear;}"
},
{
"token": "linear",
"recognized": false,
"css": ""
},
{
"token": "p-4",
"recognized": true,
"css": "/* layer: default */\n.p-4{padding:1rem;}"
},
{
"token": "p-16px",
"recognized": true,
"css": "/* layer: default */\n.p-16px{padding:16px;}"
},
{
"token": "p-[16px]",
"recognized": true,
"css": "/* layer: default */\n.p-\\[16px\\]{padding:16px;}"
},
{
"token": "text-red",
"recognized": true,
"css": "/* layer: default */\n.text-red{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity));}"
},
{
"token": "text-red-500",
"recognized": true,
"css": "/* layer: default */\n.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity));}"
},
{
"token": "text-white/72",
"recognized": true,
"css": "/* layer: default */\n.text-white\\/72{color:rgb(255 255 255 / 0.72);}"
},
{
"token": "rounded",
"recognized": true,
"css": "/* layer: default */\n.rounded{border-radius:0.25rem;}"
},
{
"token": "rounded-sm",
"recognized": true,
"css": "/* layer: default */\n.rounded-sm{border-radius:0.125rem;}"
},
{
"token": "shadow-sm",
"recognized": true,
"css": "/* layer: default */\n.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}"
},
{
"token": "ring",
"recognized": true,
"css": "/* layer: default */\n.ring{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}"
},
{
"token": "outline-none",
"recognized": true,
"css": "/* layer: default */\n.outline-none{outline:2px solid transparent;outline-offset:2px;}"
},
{
"token": "bg-[center_top_1rem]",
"recognized": true,
"css": "/* layer: default */\n.bg-\\[center_top_1rem\\]{background-color:center top 1rem;}"
},
{
"token": "bg-[position:center_top_1rem]",
"recognized": true,
"css": "/* layer: default */\n.bg-\\[position\\:center_top_1rem\\]{background-position:center top 1rem;}"
},
{
"token": "bg-$brand",
"recognized": true,
"css": "/* layer: default */\n.bg-\\$brand{background-color:var(--brand);}"
},
{
"token": "bg-[var(--brand)]",
"recognized": true,
"css": "/* layer: default */\n.bg-\\[var\\(--brand\\)\\]{background-color:var(--brand);}"
},
{
"token": "bg-(--brand)",
"recognized": false,
"css": ""
},
{
"token": "hover:bg-red-500",
"recognized": true,
"css": "/* layer: default */\n.hover\\:bg-red-500:hover{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));}"
},
{
"token": "dark:bg-red-500",
"recognized": true,
"css": "/* layer: default */\n.dark .dark\\:bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));}"
},
{
"token": "lt-md:hidden",
"recognized": true,
"css": "/* layer: default */\n@media (max-width: 767.9px){\n.lt-md\\:hidden{display:none;}\n}"
},
{
"token": "max-md:hidden",
"recognized": true,
"css": "/* layer: default */\n@media (max-width: 767.9px){\n.max-md\\:hidden{display:none;}\n}"
},
{
"token": "sm:flex",
"recognized": true,
"css": "/* layer: default */\n@media (min-width: 640px){\n.sm\\:flex{display:flex;}\n}"
},
{
"token": "before:content-['Hi']",
"recognized": true,
"css": "/* layer: default */\n.before\\:content-\\[\\'Hi\\'\\]::before{content:'Hi';}"
},
{
"token": "before:content-empty",
"recognized": true,
"css": "/* layer: default */\n.before\\:content-empty::before{content:\"\";}"
},
{
"token": "group",
"recognized": false,
"css": ""
},
{
"token": "peer",
"recognized": false,
"css": ""
},
{
"token": "group-hover:text-white",
"recognized": true,
"css": "/* layer: default */\n.group:hover .group-hover\\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}"
},
{
"token": "space-x-2",
"recognized": true,
"css": "/* layer: default */\n.space-x-2>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.5rem * var(--un-space-x-reverse));}"
},
{
"token": "*:first:pt-0",
"recognized": true,
"css": "/* layer: default */\n.\\*\\:first\\:pt-0 > *:first-child{padding-top:0;}"
},
{
"token": "first:*:pt-0",
"recognized": true,
"css": "/* layer: default */\n.first\\:\\*\\:pt-0 > *:first-child{padding-top:0;}"
}
],
"wind4": [
{
"token": "ease",
"recognized": true,
"css": "/* layer: properties */\n@property --un-ease{syntax:\"*\";inherits:false;}\n/* layer: default */\n.ease{--un-ease:var(--ease-DEFAULT);transition-timing-function:var(--ease-DEFAULT);}"
},
{
"token": "ease-[ease]",
"recognized": true,
"css": "/* layer: properties */\n@property --un-ease{syntax:\"*\";inherits:false;}\n/* layer: default */\n.ease-\\[ease\\]{--un-ease:ease;transition-timing-function:ease;}"
},
{
"token": "ease-linear",
"recognized": true,
"css": "/* layer: properties */\n@property --un-ease{syntax:\"*\";inherits:false;}\n/* layer: default */\n.ease-linear{--un-ease:var(--ease-linear);transition-timing-function:var(--ease-linear);}"
},
{
"token": "linear",
"recognized": false,
"css": ""
},
{
"token": "p-4",
"recognized": true,
"css": "/* layer: default */\n.p-4{padding:calc(var(--spacing) * 4);}"
},
{
"token": "p-16px",
"recognized": true,
"css": "/* layer: default */\n.p-16px{padding:16px;}"
},
{
"token": "p-[16px]",
"recognized": true,
"css": "/* layer: default */\n.p-\\[16px\\]{padding:16px;}"
},
{
"token": "text-red",
"recognized": true,
"css": "/* layer: properties */\n@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.text-red{color:color-mix(in srgb, var(--colors-red-DEFAULT) var(--un-text-opacity), transparent);}\n@supports (color: color-mix(in lab, red, red)){\n.text-red{color:color-mix(in oklab, var(--colors-red-DEFAULT) var(--un-text-opacity), transparent);}\n}"
},
{
"token": "text-red-500",
"recognized": true,
"css": "/* layer: properties */\n@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.text-red-500{color:color-mix(in srgb, var(--colors-red-500) var(--un-text-opacity), transparent);}\n@supports (color: color-mix(in lab, red, red)){\n.text-red-500{color:color-mix(in oklab, var(--colors-red-500) var(--un-text-opacity), transparent);}\n}"
},
{
"token": "text-white/72",
"recognized": true,
"css": "/* layer: properties */\n@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.text-white\\/72{color:color-mix(in srgb, var(--colors-white) 72%, transparent);}\n@supports (color: color-mix(in lab, red, red)){\n.text-white\\/72{color:color-mix(in oklab, var(--colors-white) 72%, transparent);}\n}"
},
{
"token": "rounded",
"recognized": true,
"css": "/* layer: default */\n.rounded{border-radius:var(--radius-DEFAULT);}"
},
{
"token": "rounded-sm",
"recognized": true,
"css": "/* layer: default */\n.rounded-sm{border-radius:var(--radius-sm);}"
},
{
"token": "shadow-sm",
"recognized": true,
"css": "/* layer: properties */\n@property --un-inset-ring-color{syntax:\"*\";inherits:false;}\n@property --un-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-inset-shadow-color{syntax:\"*\";inherits:false;}\n@property --un-ring-color{syntax:\"*\";inherits:false;}\n@property --un-ring-inset{syntax:\"*\";inherits:false;}\n@property --un-ring-offset-color{syntax:\"*\";inherits:false;}\n@property --un-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0px;}\n@property --un-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-shadow-color{syntax:\"*\";inherits:false;}\n/* layer: default */\n.shadow-sm{--un-shadow:0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}"
},
{
"token": "ring",
"recognized": true,
"css": "/* layer: properties */\n@property --un-inset-ring-color{syntax:\"*\";inherits:false;}\n@property --un-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-inset-shadow-color{syntax:\"*\";inherits:false;}\n@property --un-ring-color{syntax:\"*\";inherits:false;}\n@property --un-ring-inset{syntax:\"*\";inherits:false;}\n@property --un-ring-offset-color{syntax:\"*\";inherits:false;}\n@property --un-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0px;}\n@property --un-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-shadow-color{syntax:\"*\";inherits:false;}\n/* layer: default */\n.ring{--un-ring-shadow:var(--un-ring-inset,) 0 0 0 calc(1px + var(--un-ring-offset-width)) var(--un-ring-color, currentColor);box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}"
},
{
"token": "outline-none",
"recognized": true,
"css": "/* layer: default */\n.outline-none{--un-outline-style:none;outline-style:none;}"
},
{
"token": "bg-[center_top_1rem]",
"recognized": true,
"css": "/* layer: properties */\n@property --un-bg-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.bg-\\[center_top_1rem\\]{background-color:color-mix(in oklab, center top 1rem var(--un-bg-opacity), transparent);}"
},
{
"token": "bg-[position:center_top_1rem]",
"recognized": true,
"css": "/* layer: default */\n.bg-\\[position\\:center_top_1rem\\]{background-position:center top 1rem;}"
},
{
"token": "bg-$brand",
"recognized": true,
"css": "/* layer: default */\n.bg-\\$brand{background-color:var(--brand);}"
},
{
"token": "bg-[var(--brand)]",
"recognized": true,
"css": "/* layer: default */\n.bg-\\[var\\(--brand\\)\\]{background-color:var(--brand);}"
},
{
"token": "bg-(--brand)",
"recognized": true,
"css": "/* layer: default */\n.bg-\\(--brand\\){background-color:var(--brand);}"
},
{
"token": "hover:bg-red-500",
"recognized": true,
"css": "/* layer: properties */\n@property --un-bg-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.hover\\:bg-red-500:hover{background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n@supports (color: color-mix(in lab, red, red)){\n.hover\\:bg-red-500:hover{background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n}"
},
{
"token": "dark:bg-red-500",
"recognized": true,
"css": "/* layer: properties */\n@property --un-bg-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.dark .dark\\:bg-red-500{background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n@supports (color: color-mix(in lab, red, red)){\n.dark .dark\\:bg-red-500{background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n}"
},
{
"token": "lt-md:hidden",
"recognized": true,
"css": "/* layer: default */\n@media (max-width: calc(48rem - 0.1px)){\n.lt-md\\:hidden{display:none;}\n}"
},
{
"token": "max-md:hidden",
"recognized": true,
"css": "/* layer: default */\n@media (max-width: calc(48rem - 0.1px)){\n.max-md\\:hidden{display:none;}\n}"
},
{
"token": "sm:flex",
"recognized": true,
"css": "/* layer: default */\n@media (min-width: 40rem){\n.sm\\:flex{display:flex;}\n}"
},
{
"token": "before:content-['Hi']",
"recognized": true,
"css": "/* layer: properties */\n@property --un-content{syntax:\"*\";inherits:false;initial-value:\"\";}\n/* layer: default */\n.before\\:content-\\[\\'Hi\\'\\]::before{--un-content:'Hi';content:var(--un-content);}"
},
{
"token": "before:content-empty",
"recognized": true,
"css": "/* layer: default */\n.before\\:content-empty::before{content:\"\";}"
},
{
"token": "group",
"recognized": false,
"css": ""
},
{
"token": "peer",
"recognized": false,
"css": ""
},
{
"token": "group-hover:text-white",
"recognized": true,
"css": "/* layer: properties */\n@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n/* layer: default */\n.group:hover .group-hover\\:text-white{color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);}\n@supports (color: color-mix(in lab, red, red)){\n.group:hover .group-hover\\:text-white{color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);}\n}"
},
{
"token": "space-x-2",
"recognized": true,
"css": "/* layer: properties */\n@property --un-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0;}\n/* layer: default */\n.space-x-2{\n:where(&>:not(:last-child)){--un-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--un-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--un-space-x-reverse)));}\n}"
},
{
"token": "*:first:pt-0",
"recognized": true,
"css": "/* layer: default */\n.\\*\\:first\\:pt-0 > *:first-child{padding-top:calc(var(--spacing) * 0);}"
},
{
"token": "first:*:pt-0",
"recognized": true,
"css": "/* layer: default */\n.first\\:\\*\\:pt-0 > *:first-child{padding-top:calc(var(--spacing) * 0);}"
}
],
"tailwind3": [
{
"token": "ease",
"recognized": false,
"css": ""
},
{
"token": "ease-[ease]",
"recognized": true,
"css": ".ease-\\[ease\\] {\n transition-timing-function: ease\n}"
},
{
"token": "ease-linear",
"recognized": true,
"css": ".ease-linear {\n transition-timing-function: linear\n}"
},
{
"token": "linear",
"recognized": false,
"css": ""
},
{
"token": "p-4",
"recognized": true,
"css": ".p-4 {\n padding: 1rem\n}"
},
{
"token": "p-16px",
"recognized": false,
"css": ""
},
{
"token": "p-[16px]",
"recognized": true,
"css": ".p-\\[16px\\] {\n padding: 16px\n}"
},
{
"token": "text-red",
"recognized": false,
"css": ""
},
{
"token": "text-red-500",
"recognized": true,
"css": ".text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1))\n}"
},
{
"token": "text-white/72",
"recognized": false,
"css": ""
},
{
"token": "rounded",
"recognized": true,
"css": ".rounded {\n border-radius: 0.25rem\n}"
},
{
"token": "rounded-sm",
"recognized": true,
"css": ".rounded-sm {\n border-radius: 0.125rem\n}"
},
{
"token": "shadow-sm",
"recognized": true,
"css": ".shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)\n}"
},
{
"token": "ring",
"recognized": true,
"css": ".ring {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)\n}"
},
{
"token": "outline-none",
"recognized": true,
"css": ".outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px\n}"
},
{
"token": "bg-[center_top_1rem]",
"recognized": true,
"css": ".bg-\\[center_top_1rem\\] {\n background-position: center top 1rem\n}"
},
{
"token": "bg-[position:center_top_1rem]",
"recognized": true,
"css": ".bg-\\[position\\:center_top_1rem\\] {\n background-position: center top 1rem\n}"
},
{
"token": "bg-$brand",
"recognized": false,
"css": ""
},
{
"token": "bg-[var(--brand)]",
"recognized": true,
"css": ".bg-\\[var\\(--brand\\)\\] {\n background-color: var(--brand)\n}"
},
{
"token": "bg-(--brand)",
"recognized": false,
"css": ""
},
{
"token": "hover:bg-red-500",
"recognized": true,
"css": ".hover\\:bg-red-500:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1))\n}"
},
{
"token": "dark:bg-red-500",
"recognized": true,
"css": "@media (prefers-color-scheme: dark) {\n .dark\\:bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1))\n }\n}"
},
{
"token": "lt-md:hidden",
"recognized": false,
"css": ""
},
{
"token": "max-md:hidden",
"recognized": true,
"css": "@media not all and (min-width: 768px) {\n .max-md\\:hidden {\n display: none\n }\n}"
},
{
"token": "sm:flex",
"recognized": true,
"css": "@media (min-width: 640px) {\n .sm\\:flex {\n display: flex\n }\n}"
},
{
"token": "before:content-['Hi']",
"recognized": true,
"css": ".before\\:content-\\[\\'Hi\\'\\]::before {\n --tw-content: 'Hi';\n content: var(--tw-content)\n}"
},
{
"token": "before:content-empty",
"recognized": false,
"css": ""
},
{
"token": "group",
"recognized": false,
"css": ""
},
{
"token": "peer",
"recognized": false,
"css": ""
},
{
"token": "group-hover:text-white",
"recognized": true,
"css": ".group:hover .group-hover\\:text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}"
},
{
"token": "space-x-2",
"recognized": true,
"css": ".space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))\n}"
},
{
"token": "*:first:pt-0",
"recognized": true,
"css": ".\\*\\:first\\:pt-0:first-child > * {\n padding-top: 0px\n}"
},
{
"token": "first:*:pt-0",
"recognized": true,
"css": ".first\\:\\*\\:pt-0 > *:first-child {\n padding-top: 0px\n}"
}
],
"tailwind4": [
{
"token": "ease",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "ease-[ease]",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n.ease-\\[ease\\] {\n --tw-ease: ease;\n transition-timing-function: ease;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-ease: initial;\n }\n }\n}\n"
},
{
"token": "ease-linear",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n.ease-linear {\n --tw-ease: linear;\n transition-timing-function: linear;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-ease: initial;\n }\n }\n}\n"
},
{
"token": "linear",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "p-4",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.p-4 {\n padding: calc(var(--spacing, 0.25rem) * 4);\n}\n"
},
{
"token": "p-16px",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "p-[16px]",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.p-\\[16px\\] {\n padding: 16px;\n}\n"
},
{
"token": "text-red",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "text-red-500",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.text-red-500 {\n color: var(--color-red-500, oklch(63.7% 0.237 25.331));\n}\n"
},
{
"token": "text-white/72",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.text-white\\/72 {\n color: color-mix(in srgb, #fff 72%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white, #fff) 72%, transparent);\n }\n}\n"
},
{
"token": "rounded",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.rounded {\n border-radius: 0.25rem;\n}\n"
},
{
"token": "rounded-sm",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.rounded-sm {\n border-radius: var(--radius-sm, 0.25rem);\n}\n"
},
{
"token": "shadow-sm",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n.shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n }\n }\n}\n"
},
{
"token": "ring",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n.ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n }\n }\n}\n"
},
{
"token": "outline-none",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.outline-none {\n --tw-outline-style: none;\n outline-style: none;\n}\n"
},
{
"token": "bg-[center_top_1rem]",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.bg-\\[center_top_1rem\\] {\n background-position: center top 1rem;\n}\n"
},
{
"token": "bg-[position:center_top_1rem]",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.bg-\\[position\\:center_top_1rem\\] {\n background-position: center top 1rem;\n}\n"
},
{
"token": "bg-$brand",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "bg-[var(--brand)]",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.bg-\\[var\\(--brand\\)\\] {\n background-color: var(--brand);\n}\n"
},
{
"token": "bg-(--brand)",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.bg-\\(--brand\\) {\n background-color: var(--brand);\n}\n"
},
{
"token": "hover:bg-red-500",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@media (hover: hover) {\n .hover\\:bg-red-500:hover {\n background-color: var(--color-red-500, oklch(63.7% 0.237 25.331));\n }\n}\n"
},
{
"token": "dark:bg-red-500",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@media (prefers-color-scheme: dark) {\n .dark\\:bg-red-500 {\n background-color: var(--color-red-500, oklch(63.7% 0.237 25.331));\n }\n}\n"
},
{
"token": "lt-md:hidden",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "max-md:hidden",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@media (width < 48rem) {\n .max-md\\:hidden {\n display: none;\n }\n}\n"
},
{
"token": "sm:flex",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@media (width >= 40rem) {\n .sm\\:flex {\n display: flex;\n }\n}\n"
},
{
"token": "before:content-['Hi']",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n.before\\:content-\\[\\'Hi\\'\\]::before {\n --tw-content: 'Hi';\n content: var(--tw-content);\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-content: \"\";\n }\n }\n}\n"
},
{
"token": "before:content-empty",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "group",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "peer",
"recognized": false,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"
},
{
"token": "group-hover:text-white",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@media (hover: hover) {\n .group-hover\\:text-white:is(:where(.group):hover *) {\n color: var(--color-white, #fff);\n }\n}\n"
},
{
"token": "space-x-2",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n:where(.space-x-2 > :not(:last-child)) {\n --tw-space-x-reverse: 0;\n margin-inline-start: calc(calc(var(--spacing, 0.25rem) * 2) * var(--tw-space-x-reverse));\n margin-inline-end: calc(calc(var(--spacing, 0.25rem) * 2) * calc(1 - var(--tw-space-x-reverse)));\n}\n@property --tw-space-x-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-space-x-reverse: 0;\n }\n }\n}\n"
},
{
"token": "*:first:pt-0",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n:is(.\\*\\:first\\:pt-0 > *):first-child {\n padding-top: 0px;\n}\n"
},
{
"token": "first:*:pt-0",
"recognized": true,
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n:is(.first\\:\\*\\:pt-0:first-child > *) {\n padding-top: 0px;\n}\n"
}
]
},
"apply": {
"wind3": [
{
"name": "ease",
"input": ".probe { @apply ease; }",
"output": ".probe { transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1); }",
"threw": false
},
{
"name": "ease-arbitrary",
"input": ".probe { @apply ease-[ease]; }",
"output": ".probe { transition-timing-function:ease; }",
"threw": false
},
{
"name": "unknown",
"input": ".probe { @apply definitely-not-a-utility; }",
"output": ".probe { @apply definitely-not-a-utility; }",
"threw": false
},
{
"name": "unknown-mixed",
"input": ".probe { @apply flex definitely-not-a-utility; }",
"output": ".probe { display:flex; }",
"threw": false
},
{
"name": "group",
"input": ".probe { @apply group; }",
"output": ".probe { @apply group; }",
"threw": false
},
{
"name": "group-mixed",
"input": ".probe { @apply group flex; }",
"output": ".probe { display:flex; }",
"threw": false
},
{
"name": "group-variant",
"input": ".probe { @apply group-hover:text-white; }",
"output": ".group:hover .probe{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}",
"threw": false
},
{
"name": "ordinary-class",
"input": ".custom { color: red; } .probe { @apply custom; }",
"output": ".custom { color: red; } .probe { @apply custom; }",
"threw": false
},
{
"name": "variant-group",
"input": ".probe { @apply hover:(bg-red-500 text-white); }",
"output": ".probe:hover{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}",
"threw": false
},
{
"name": "tailwind-utility",
"input": "@utility content-auto { content-visibility: auto; } .probe { @apply content-auto; }",
"output": "@utility content-auto { content-visibility: auto; } .probe { @apply content-auto; }",
"threw": false
}
],
"wind4": [
{
"name": "ease",
"input": ".probe { @apply ease; }",
"output": "@property --un-ease{syntax:\"*\";inherits:false;}.probe { --un-ease:var(--ease-DEFAULT);transition-timing-function:var(--ease-DEFAULT); }",
"threw": false
},
{
"name": "ease-arbitrary",
"input": ".probe { @apply ease-[ease]; }",
"output": "@property --un-ease{syntax:\"*\";inherits:false;}.probe { --un-ease:ease;transition-timing-function:ease; }",
"threw": false
},
{
"name": "unknown",
"input": ".probe { @apply definitely-not-a-utility; }",
"output": ".probe { @apply definitely-not-a-utility; }",
"threw": false
},
{
"name": "unknown-mixed",
"input": ".probe { @apply flex definitely-not-a-utility; }",
"output": ".probe { display:flex; }",
"threw": false
},
{
"name": "group",
"input": ".probe { @apply group; }",
"output": ".probe { @apply group; }",
"threw": false
},
{
"name": "group-mixed",
"input": ".probe { @apply group flex; }",
"output": ".probe { display:flex; }",
"threw": false
},
{
"name": "group-variant",
"input": ".probe { @apply group-hover:text-white; }",
"output": "@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}.group:hover .probe{color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);}@supports (color: color-mix(in lab, red, red)){.group:hover .probe{color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);}}",
"threw": false
},
{
"name": "ordinary-class",
"input": ".custom { color: red; } .probe { @apply custom; }",
"output": ".custom { color: red; } .probe { @apply custom; }",
"threw": false
},
{
"name": "variant-group",
"input": ".probe { @apply hover:(bg-red-500 text-white); }",
"output": "@property --un-bg-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}@property --un-bg-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}.probe:hover{color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);}@supports (color: color-mix(in lab, red, red)){.probe:hover{color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);}}",
"threw": false
},
{
"name": "tailwind-utility",
"input": "@utility content-auto { content-visibility: auto; } .probe { @apply content-auto; }",
"output": "@utility content-auto { content-visibility: auto; } .probe { @apply content-auto; }",
"threw": false
}
],
"tailwind3": [
{
"name": "ease",
"input": ".probe { @apply ease; }",
"threw": true,
"error": "The `ease` class does not exist. If `ease` is a custom class, make sure it is defined within a `@layer` directive."
},
{
"name": "ease-arbitrary",
"input": ".probe { @apply ease-[ease]; }",
"output": ".flex {\n display: flex\n}\n.probe {\n transition-timing-function: ease\n}",
"threw": false
},
{
"name": "unknown",
"input": ".probe { @apply definitely-not-a-utility; }",
"threw": true,
"error": "The `definitely-not-a-utility` class does not exist. If `definitely-not-a-utility` is a custom class, make sure it is defined within a `@layer` directive."
},
{
"name": "unknown-mixed",
"input": ".probe { @apply flex definitely-not-a-utility; }",
"threw": true,
"error": "The `definitely-not-a-utility` class does not exist. If `definitely-not-a-utility` is a custom class, make sure it is defined within a `@layer` directive."
},
{
"name": "group",
"input": ".probe { @apply group; }",
"threw": true,
"error": "@apply should not be used with the 'group' utility"
},
{
"name": "group-mixed",
"input": ".probe { @apply group flex; }",
"threw": true,
"error": "@apply should not be used with the 'group' utility"
},
{
"name": "group-variant",
"input": ".probe { @apply group-hover:text-white; }",
"output": ".flex {\n display: flex\n}\n.group:hover .probe {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}",
"threw": false
},
{
"name": "ordinary-class",
"input": ".custom { color: red; } .probe { @apply custom; }",
"output": ".flex { display: flex; }\n.custom { color: red; } .probe { color: red; }",
"threw": false
},
{
"name": "variant-group",
"input": ".probe { @apply hover:(bg-red-500 text-white); }",
"threw": true,
"error": "The `hover:(bg-red-500` class does not exist. If `hover:(bg-red-500` is a custom class, make sure it is defined within a `@layer` directive."
},
{
"name": "tailwind-utility",
"input": "@utility content-auto { content-visibility: auto; } .probe { @apply content-auto; }",
"threw": true,
"error": "The `content-auto` class does not exist. If `content-auto` is a custom class, make sure it is defined within a `@layer` directive."
}
],
"tailwind4": [
{
"name": "ease",
"input": ".probe { @apply ease; }",
"threw": true,
"error": "Cannot apply unknown utility class `ease`"
},
{
"name": "ease-arbitrary",
"input": ".probe { @apply ease-[ease]; }",
"output": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n.probe {\n --tw-ease: ease;\n transition-timing-function: ease;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-ease: initial;\n }\n }\n}\n",
"threw": false
},
{
"name": "unknown",
"input": ".probe { @apply definitely-not-a-utility; }",
"threw": true,
"error": "Cannot apply unknown utility class `definitely-not-a-utility`"
},
{
"name": "unknown-mixed",
"input": ".probe { @apply flex definitely-not-a-utility; }",
"threw": true,
"error": "Cannot apply unknown utility class `definitely-not-a-utility`"
},
{
"name": "group",
"input": ".probe { @apply group; }",
"threw": true,
"error": "Cannot apply unknown utility class `group`"
},
{
"name": "group-mixed",
"input": ".probe { @apply group flex; }",
"threw": true,
"error": "Cannot apply unknown utility class `group`"
},
{
"name": "group-variant",
"input": ".probe { @apply group-hover:text-white; }",
"output": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@media (hover: hover) {\n .probe:is(:where(.group):hover *) {\n color: var(--color-white, #fff);\n }\n}\n",
"threw": false
},
{
"name": "ordinary-class",
"input": ".custom { color: red; } .probe { @apply custom; }",
"threw": true,
"error": "Cannot apply unknown utility class `custom`"
},
{
"name": "variant-group",
"input": ".probe { @apply hover:(bg-red-500 text-white); }",
"threw": true,
"error": "Cannot apply unknown utility class `hover:(bg-red-500`"
},
{
"name": "tailwind-utility",
"input": "@utility content-auto { content-visibility: auto; } .probe { @apply content-auto; }",
"output": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n.probe {\n content-visibility: auto;\n}\n",
"threw": false
}
]
},
"extraction": {
"wind3": {
"input": "<div class=\"before:content-['Hi'] before:content-empty\"></div>",
"matched": [
"before:content-['Hi']",
"before:content-empty"
],
"css": "/* layer: default */\n.before\\:content-\\[\\'Hi\\'\\]::before{content:'Hi';}\n.before\\:content-empty::before{content:\"\";}"
},
"wind4": {
"input": "<div class=\"before:content-['Hi'] before:content-empty\"></div>",
"matched": [
"before:content-['Hi']",
"before:content-empty"
],
"css": "/* layer: properties */\n@property --un-content{syntax:\"*\";inherits:false;initial-value:\"\";}\n/* layer: default */\n.before\\:content-\\[\\'Hi\\'\\]::before{--un-content:'Hi';content:var(--un-content);}\n.before\\:content-empty::before{content:\"\";}"
}
},
"browser": {
"tailwind3": {
"initial": {
"bodyMargin": "0px",
"headingMargin": "0px",
"headingFontSize": "16px",
"buttonFont": "ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
"buttonBorderStyle": "solid",
"padding": "16px",
"radius": "2px",
"shadow": "rgb(255, 255, 255) 0px 0px 0px 0px, rgba(59, 130, 246, 0.5) 0px 0px 0px 3px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px",
"cascadeColor": "rgb(239, 68, 68)",
"darkBackground": "rgba(0, 0, 0, 0)",
"ambiguousPosition": "50% 16px",
"explicitPosition": "50% 16px",
"variantFirstStar": "0px",
"variantStarFirst": "12px"
},
"classDark": "rgba(0, 0, 0, 0)",
"mediaDark": "rgb(239, 68, 68)",
"desktopHover": {
"media": true,
"color": "rgb(239, 68, 68)"
},
"touchHover": {
"media": false,
"color": "rgb(239, 68, 68)"
},
"css": "*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden=\"until-found\"])) {\n display: none;\n}.rounded-sm {\n border-radius: 0.125rem;\n}.bg-\\[center_top_1rem\\] {\n background-position: center top 1rem;\n}.bg-\\[position\\:center_top_1rem\\] {\n background-position: center top 1rem;\n}.p-4 {\n padding: 1rem;\n}.text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}.shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}.ring {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}.\\*\\:first\\:pt-0:first-child > * {\n padding-top: 0px;\n}.first\\:\\*\\:pt-0 > *:first-child {\n padding-top: 0px;\n}.hover\\:bg-red-500:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));\n}@media (prefers-color-scheme: dark) {\n\n .dark\\:bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));\n }\n}"
},
"tailwind4": {
"initial": {
"bodyMargin": "0px",
"headingMargin": "0px",
"headingFontSize": "16px",
"buttonFont": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
"buttonBorderStyle": "solid",
"padding": "16px",
"radius": "4px",
"shadow": "rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgb(0, 0, 0) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",
"cascadeColor": "rgb(0, 128, 0)",
"darkBackground": "rgba(0, 0, 0, 0)",
"ambiguousPosition": "50% 16px",
"explicitPosition": "50% 16px",
"variantFirstStar": "0px",
"variantStarFirst": "0px"
},
"classDark": "rgba(0, 0, 0, 0)",
"mediaDark": "oklch(0.637 0.237 25.331)",
"desktopHover": {
"media": true,
"color": "oklch(0.637 0.237 25.331)"
},
"touchHover": {
"media": false,
"color": "rgba(0, 0, 0, 0)"
},
"css": "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',\n monospace;\n --color-red-500: oklch(63.7% 0.237 25.331);\n --spacing: 0.25rem;\n --radius-sm: 0.25rem;\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring:where(:not(iframe)) {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden='until-found'])) {\n display: none !important;\n }\n}\n@layer utilities {\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .bg-\\[center_top_1rem\\] {\n background-position: center top 1rem;\n }\n .bg-\\[position\\:center_top_1rem\\] {\n background-position: center top 1rem;\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n :is(.\\*\\:first\\:pt-0 > *):first-child {\n padding-top: 0px;\n }\n :is(.first\\:\\*\\:pt-0:first-child > *) {\n padding-top: 0px;\n }\n @media (hover: hover) {\n .hover\\:bg-red-500:hover {\n background-color: var(--color-red-500);\n }\n }\n @media (prefers-color-scheme: dark) {\n .dark\\:bg-red-500 {\n background-color: var(--color-red-500);\n }\n }\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n }\n }\n}\n"
},
"wind3": {
"initial": {
"bodyMargin": "8px",
"headingMargin": "21.44px 0px",
"headingFontSize": "32px",
"buttonFont": "Arial",
"buttonBorderStyle": "outset",
"padding": "16px",
"radius": "2px",
"shadow": "rgb(255, 255, 255) 0px 0px 0px 0px, rgba(147, 197, 253, 0.5) 0px 0px 0px 3px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px",
"cascadeColor": "rgb(239, 68, 68)",
"darkBackground": "rgba(0, 0, 0, 0)",
"ambiguousPosition": "0% 0%",
"explicitPosition": "50% 16px",
"variantFirstStar": "0px",
"variantStarFirst": "0px"
},
"classDark": "rgb(239, 68, 68)",
"mediaDark": "rgba(0, 0, 0, 0)",
"desktopHover": {
"media": true,
"color": "rgb(239, 68, 68)"
},
"touchHover": {
"media": false,
"color": "rgb(239, 68, 68)"
},
"css": "/* layer: preflights */\n*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}\n/* layer: default */\n.rounded-sm{border-radius:0.125rem;}\n.bg-\\[center_top_1rem\\]{background-color:center top 1rem;}\n.bg-\\[position\\:center_top_1rem\\]{background-position:center top 1rem;}\n.dark .dark\\:bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));}\n.hover\\:bg-red-500:hover{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));}\n.p-4{padding:1rem;}\n.\\*\\:first\\:pt-0 > *:first-child{padding-top:0;}\n.first\\:\\*\\:pt-0 > *:first-child{padding-top:0;}\n.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity));}\n.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}\n.ring{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}"
},
"wind4": {
"initial": {
"bodyMargin": "0px",
"headingMargin": "0px",
"headingFontSize": "16px",
"buttonFont": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
"buttonBorderStyle": "solid",
"padding": "16px",
"radius": "4px",
"shadow": "rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgb(0, 0, 0) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",
"cascadeColor": "oklab(0.637 0.214213 0.1014)",
"darkBackground": "rgba(0, 0, 0, 0)",
"ambiguousPosition": "0% 0%",
"explicitPosition": "50% 16px",
"variantFirstStar": "0px",
"variantStarFirst": "0px"
},
"classDark": "oklab(0.637 0.214213 0.1014)",
"mediaDark": "rgba(0, 0, 0, 0)",
"desktopHover": {
"media": true,
"color": "oklab(0.637 0.214213 0.1014)"
},
"touchHover": {
"media": false,
"color": "oklab(0.637 0.214213 0.1014)"
},
"css": "/* layer: properties */\n@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-bg-opacity:100%;--un-text-opacity:100%;}}\n@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n@property --un-bg-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}\n@property --un-inset-ring-color{syntax:\"*\";inherits:false;}\n@property --un-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-inset-shadow-color{syntax:\"*\";inherits:false;}\n@property --un-ring-color{syntax:\"*\";inherits:false;}\n@property --un-ring-inset{syntax:\"*\";inherits:false;}\n@property --un-ring-offset-color{syntax:\"*\";inherits:false;}\n@property --un-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0px;}\n@property --un-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000;}\n@property --un-shadow-color{syntax:\"*\";inherits:false;}\n/* layer: theme */\n:root, :host { --spacing: 0.25rem; --radius-sm: 0.25rem; --colors-red-500: oklch(63.7% 0.237 25.331); --font-sans: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"; --font-mono: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace; --default-font-family: var(--font-sans); --default-monoFont-family: var(--font-mono); }\n/* layer: base */\n *, ::after, ::before, ::backdrop, ::file-selector-button { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var( --default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' ); font-feature-settings: var(--default-font-featureSettings, normal); font-variation-settings: var(--default-font-variationSettings, normal); -webkit-tap-highlight-color: transparent; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; -webkit-text-decoration: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: var( --default-monoFont-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace ); font-feature-settings: var(--default-monoFont-featureSettings, normal); font-variation-settings: var(--default-monoFont-variationSettings, normal); font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: inherit; border-collapse: collapse; } :-moz-focusring:where(:not(iframe)) { outline: auto; } progress { vertical-align: baseline; } summary { display: list-item; } ol, ul, menu { list-style: none; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } button, input, select, optgroup, textarea, ::file-selector-button { font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; } :where(select:is([multiple], [size])) optgroup { font-weight: bolder; } :where(select:is([multiple], [size])) optgroup option { padding-inline-start: 20px; } ::file-selector-button { margin-inline-end: 4px; } ::placeholder { opacity: 1; } @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) { ::placeholder { color: color-mix(in oklab, currentcolor 50%, transparent); } } textarea { resize: vertical; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-date-and-time-value { min-height: 1lh; text-align: inherit; } ::-webkit-datetime-edit { display: inline-flex; } ::-webkit-datetime-edit-fields-wrapper { padding: 0; } ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { padding-block: 0; } ::-webkit-calendar-picker-indicator { line-height: 1; } :-moz-ui-invalid { box-shadow: none; } button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button { appearance: button; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [hidden]:where(:not([hidden~='until-found'])) { display: none !important; }\n/* layer: default */\n.text-red-500{color:color-mix(in srgb, var(--colors-red-500) var(--un-text-opacity), transparent);}\n.p-4{padding:calc(var(--spacing) * 4);}\n.\\*\\:first\\:pt-0 > *:first-child{padding-top:calc(var(--spacing) * 0);}\n.first\\:\\*\\:pt-0 > *:first-child{padding-top:calc(var(--spacing) * 0);}\n.rounded-sm{border-radius:var(--radius-sm);}\n.bg-\\[center_top_1rem\\]{background-color:color-mix(in oklab, center top 1rem var(--un-bg-opacity), transparent);}\n.bg-\\[position\\:center_top_1rem\\]{background-position:center top 1rem;}\n.dark .dark\\:bg-red-500{background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n.hover\\:bg-red-500:hover{background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n.ring{--un-ring-shadow:var(--un-ring-inset,) 0 0 0 calc(1px + var(--un-ring-offset-width)) var(--un-ring-color, currentColor);box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}\n.shadow-sm{--un-shadow:0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}\n@supports (color: color-mix(in lab, red, red)){\n.text-red-500{color:color-mix(in oklab, var(--colors-red-500) var(--un-text-opacity), transparent);}\n.dark .dark\\:bg-red-500{background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n.hover\\:bg-red-500:hover{background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);}\n}"
}
},
"integration": [
{
"preset": "wind3",
"name": "ease",
"built": true,
"css": ".probe { transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1); }"
},
{
"preset": "wind3",
"name": "ease-arbitrary",
"built": true,
"css": ".probe { transition-timing-function:ease; }"
},
{
"preset": "wind3",
"name": "unknown",
"built": true,
"css": ".probe { @apply definitely-not-a-utility; }"
},
{
"preset": "wind3",
"name": "unknown-mixed",
"built": true,
"css": ".probe { display:flex; }"
},
{
"preset": "wind3",
"name": "group",
"built": true,
"css": ".probe { @apply group; }"
},
{
"preset": "wind3",
"name": "group-mixed",
"built": true,
"css": ".probe { display:flex; }"
},
{
"preset": "wind4",
"name": "ease",
"built": true,
"css": "@property --un-ease{syntax:\"*\";inherits:false;}.probe { --un-ease:var(--ease-DEFAULT);transition-timing-function:var(--ease-DEFAULT); }"
},
{
"preset": "wind4",
"name": "ease-arbitrary",
"built": true,
"css": "@property --un-ease{syntax:\"*\";inherits:false;}.probe { --un-ease:ease;transition-timing-function:ease; }"
},
{
"preset": "wind4",
"name": "unknown",
"built": true,
"css": ".probe { @apply definitely-not-a-utility; }"
},
{
"preset": "wind4",
"name": "unknown-mixed",
"built": true,
"css": ".probe { display:flex; }"
},
{
"preset": "wind4",
"name": "group",
"built": true,
"css": ".probe { @apply group; }"
},
{
"preset": "wind4",
"name": "group-mixed",
"built": true,
"css": ".probe { display:flex; }"
}
],
"sourceEvidence": {
"package": "@unocss/transformer-directives",
"file": "dist/index.mjs",
"startLine": 12,
"endLine": 36,
"text": "async function parseApply({ code, uno, applyVariable }, node, childNode) {\n\tconst original = code.original;\n\tlet body;\n\tif (childNode.type === \"Atrule\" && childNode.name === \"apply\" && childNode.prelude && childNode.prelude.type === \"Raw\") body = removeQuotes(childNode.prelude.value.trim());\n\telse if (childNode.type === \"Declaration\" && applyVariable.includes(childNode.property) && (childNode.value.type === \"Value\" || childNode.value.type === \"Raw\")) {\n\t\tlet rawValue = original.slice(childNode.value.loc.start.offset, childNode.value.loc.end.offset).trim();\n\t\trawValue = removeQuotes(rawValue);\n\t\tbody = rawValue.split(/\\s+/g).filter(Boolean).map((i) => removeQuotes(i)).join(\" \");\n\t}\n\tif (!body) return;\n\tbody = removeComments(body);\n\tconst classNames = expandVariantGroup(body).split(/\\s+/g).map((className) => className.trim().replace(/\\\\/, \"\"));\n\tconst properties = /* @__PURE__ */ new Map();\n\tconst utils = (await Promise.all(classNames.map((i) => uno.parseToken(i, \"-\")))).filter(notNull).flat().sort((a, b) => a[0] - b[0]).sort((a, b) => (a[3] ? uno.getParentOrder(a[3]) ?? 0 : 0) - (b[3] ? uno.getParentOrder(b[3]) ?? 0 : 0)).reduce((acc, item) => {\n\t\tif (item[4]?.layer === \"properties\") {\n\t\t\tproperties.set(item[1], item[2]);\n\t\t\treturn acc;\n\t\t}\n\t\tconst target = acc.find((i) => i[1] === item[1] && i[3] === item[3]);\n\t\tif (target) {\n\t\t\tif (!target[2].includes(item[2])) target[2] += item[2];\n\t\t} else acc.push([...item]);\n\t\treturn acc;\n\t}, []);\n\tif (!utils.length) return;"
}
}补测固定 UnoCSS 66.12.0 与 Vite 8.3.5,以默认 directives 对照缺失主题、fallback、参数错误、缺失断点和 group / peer 标记。主题缺失、fallback 与断点样例另外经过实际 Vite CSS 构建;错误栈中的本机目录统一替换为 <fixture> / <repo>。维护入口为 tools/probes/unocss-directives-failures.ts。
指令失败、fallback 和状态标记的补测
{
"pathsNormalized": true,
"versions": {
"unocss": "66.12.0",
"vite": "8.3.5"
},
"rows": [
{
"preset": "wind3",
"name": "missing-theme",
"input": ".probe { color: theme('colors.not-a-real-color'); }",
"threw": true,
"error": "theme of \"colors.not-a-real-color\" did not found",
"built": false,
"buildError": "Build failed with 1 error:\n\n[plugin unocss:transformers:default] <fixture>/style.css\nError: theme of \"colors.not-a-real-color\" did not found\n at transformThemeString (file:///<repo>/node_modules/.pnpm/@unocss+rule-utils@66.12.0/node_modules/@unocss/rule-utils/dist/index.mjs:30:35)\n at handleFunction (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:118:16)\n at processNode (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:185:44)\n at Object.<anonymous> (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:188:36)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:169:36)\n at List.walkReducer (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:195:61)\n at List.reduce (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/utils/List.js:174:22)\n at Object.Value (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:103:31)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:180:41)\n at Object.Declaration (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:108:28)"
},
{
"preset": "wind3",
"name": "theme-fallback",
"input": ".probe { color: theme('colors.not-a-real-color', red); }",
"output": ".probe { color: red; }",
"threw": false,
"built": true,
"css": ".probe { color: red; }"
},
{
"preset": "wind3",
"name": "theme-argument",
"input": ".probe { color: theme(); }",
"threw": true,
"error": "theme() expect exact one argument"
},
{
"preset": "wind3",
"name": "missing-screen",
"input": "@screen no-such-breakpoint { .probe { display: flex; } }",
"threw": true,
"error": "breakpoint no-such-breakpoint not found",
"built": false,
"buildError": "Build failed with 1 error:\n\n[plugin unocss:transformers:default] <fixture>/style.css\nError: breakpoint no-such-breakpoint not found\n at resolveScreenMediaQuery (file:///<repo>/node_modules/.pnpm/@unocss+rule-utils@66.12.0/node_modules/@unocss/rule-utils/dist/index.mjs:136:26)\n at handleScreen (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:140:31)\n at processNode (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:183:70)\n at Object.<anonymous> (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:188:36)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:169:36)\n at List.walkReducer (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:195:61)\n at List.reduce (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/utils/List.js:174:22)\n at Object.StyleSheet (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:103:31)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:180:41)\n at walk (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:239:9)"
},
{
"preset": "wind3",
"name": "marker-mixed",
"input": ".probe { @apply group flex; }",
"output": ".probe { display:flex; }",
"threw": false
},
{
"preset": "wind3",
"name": "group-variant",
"input": ".probe { @apply group-hover:text-white; }",
"output": ".group:hover .probe{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}",
"threw": false
},
{
"preset": "wind3",
"name": "peer-variant",
"input": ".probe { @apply peer-checked:text-white; }",
"output": ".peer:checked~.probe{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));}",
"threw": false
},
{
"preset": "wind4",
"name": "missing-theme",
"input": ".probe { color: theme('colors.not-a-real-color'); }",
"threw": true,
"error": "theme of \"colors.not-a-real-color\" did not found",
"built": false,
"buildError": "Build failed with 1 error:\n\n[plugin unocss:transformers:default] <fixture>/style.css\nError: theme of \"colors.not-a-real-color\" did not found\n at transformThemeString (file:///<repo>/node_modules/.pnpm/@unocss+rule-utils@66.12.0/node_modules/@unocss/rule-utils/dist/index.mjs:30:35)\n at handleFunction (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:118:16)\n at processNode (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:185:44)\n at Object.<anonymous> (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:188:36)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:169:36)\n at List.walkReducer (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:195:61)\n at List.reduce (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/utils/List.js:174:22)\n at Object.Value (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:103:31)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:180:41)\n at Object.Declaration (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:108:28)"
},
{
"preset": "wind4",
"name": "theme-fallback",
"input": ".probe { color: theme('colors.not-a-real-color', red); }",
"output": ".probe { color: red; }",
"threw": false,
"built": true,
"css": ".probe { color: red; }"
},
{
"preset": "wind4",
"name": "theme-argument",
"input": ".probe { color: theme(); }",
"threw": true,
"error": "theme() expect exact one argument"
},
{
"preset": "wind4",
"name": "missing-screen",
"input": "@screen no-such-breakpoint { .probe { display: flex; } }",
"threw": true,
"error": "breakpoint no-such-breakpoint not found",
"built": false,
"buildError": "Build failed with 1 error:\n\n[plugin unocss:transformers:default] <fixture>/style.css\nError: breakpoint no-such-breakpoint not found\n at resolveScreenMediaQuery (file:///<repo>/node_modules/.pnpm/@unocss+rule-utils@66.12.0/node_modules/@unocss/rule-utils/dist/index.mjs:136:26)\n at handleScreen (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:140:31)\n at processNode (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:183:70)\n at Object.<anonymous> (file:///<repo>/node_modules/.pnpm/@unocss+transformer-directives@66.12.0/node_modules/@unocss/transformer-directives/dist/index.mjs:188:36)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:169:36)\n at List.walkReducer (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:195:61)\n at List.reduce (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/utils/List.js:174:22)\n at Object.StyleSheet (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:103:31)\n at walkNode (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:180:41)\n at walk (file:///<repo>/node_modules/.pnpm/css-tree@3.2.1/node_modules/css-tree/lib/walker/create.js:239:9)"
},
{
"preset": "wind4",
"name": "marker-mixed",
"input": ".probe { @apply group flex; }",
"output": ".probe { display:flex; }",
"threw": false
},
{
"preset": "wind4",
"name": "group-variant",
"input": ".probe { @apply group-hover:text-white; }",
"output": "@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}.group:hover .probe{color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);}@supports (color: color-mix(in lab, red, red)){.group:hover .probe{color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);}}",
"threw": false
},
{
"preset": "wind4",
"name": "peer-variant",
"input": ".probe { @apply peer-checked:text-white; }",
"output": "@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}@property --un-text-opacity{syntax:\"<percentage>\";inherits:false;initial-value:100%;}.peer:checked~.probe{color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);}@supports (color: color-mix(in lab, red, red)){.peer:checked~.probe{color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);}}",
"threw": false
}
]
}固定版本的工具类双向盘点
打开原文件 utility-support-inventory.json
这份清单固定 Tailwind 3.4.17、Tailwind 4.3.3、UnoCSS 66.12.0 的默认 Wind3 / Wind4,无业务主题和第三方插件。候选由 Tailwind v3 的 11,344 个补全项、v4 的 23,286 个补全项、Wind3 的 931 条静态规则、Wind4 的 977 条静态规则,以及 77 个手选样例合并去重,并加入两组有限正则分支和默认主题命名值,共 25,699 项;其中 3,370 项进入固定词汇视图。
每一项分别检查四个生成器。rows 中每行是 [完整 token, 支持位],位序与 engines 一致,分别为 Tailwind v3、Tailwind v4、Wind3、Wind4;1 表示生成规则,0 表示本次没有生成。group / peer 这类 DOM 标记本身不生成视觉规则,也不应据此判断它们的变体不可用。
维护入口是 tools/probes/utility-support-inventory.ts,查询页模板位于其 templates/utility-support-report.html。清单、摘要与查询 HTML 从同一轮结果生成,避免手动维护两份支持名单。批量盘点使用了固定版本的 Tailwind 私有补全 / 设计系统 API,不建议将这些接口直接用于长期 Lint;77 个手选样例另经过四组公开编译路径交叉检查;固定词汇再做 13,480 次公开生成支持检查。Tailwind v3 同时启用 components 与 utilities 入口,覆盖 container 所在的生成层。
完整结果可在正文的查询表里搜索或下载筛选 JSON,也可使用阅读器的原文件入口。下面保留来源统计与代表输入的生成 CSS。它们只证明当前配置与候选范围的生成行为,不证明 CSS 值有效、浏览器兼容、语义等价或覆盖了无限的动态输入。
候选范围、双向统计与代表输入的 CSS
{
"checkedAt": "2026-11-02T04:52:03.228Z",
"versions": {
"tailwind3": "3.4.17",
"tailwind4": "4.3.3",
"unocss": "66.12.0"
},
"engines": [
"tailwind3",
"tailwind4",
"wind3",
"wind4"
],
"corpus": {
"tailwind3Completions": 11344,
"tailwind4Completions": 23286,
"wind3StaticRules": 931,
"wind4StaticRules": 977,
"wind3FiniteRegexCandidates": 506,
"wind4FiniteRegexCandidates": 655,
"wind3ThemeCandidates": 1048,
"wind4ThemeCandidates": 855,
"manualSamples": 77,
"uniqueCandidates": 25699
},
"limits": [
"无业务配置或第三方插件",
"动态规则、任意值、任意选择器及所有变体组合无法穷举",
"支持位仅表示编译器产生规则,不证明 CSS 有效、DOM 条件满足或语义等价",
"Tailwind 私有补全/设计系统 API 仅限本次固定版本实验"
],
"publicCompilerChecks": 308,
"counts": {
"tailwind3": 11363,
"tailwind4": 23542,
"wind3": 15567,
"wind4": 25099
},
"directions": [
{
"uno": "wind3",
"tailwind": "tailwind3",
"unoOnly": 4457,
"tailwindOnly": 253,
"unoExamples": [
"-bottom-1/12",
"-bottom-1/5",
"-bottom-1/6",
"-bottom-10/12",
"-bottom-11/12",
"-bottom-2/12",
"-bottom-2/5",
"-bottom-2/6",
"-bottom-3/12",
"-bottom-3/5",
"-bottom-3/6",
"-bottom-4/12"
],
"tailwindExamples": [
"-bottom-0",
"-end-0",
"-indent-0",
"-inset-0",
"-inset-x-0",
"-inset-y-0",
"-left-0",
"-m-0",
"-mb-0",
"-me-0",
"-ml-0",
"-mr-0"
]
},
{
"uno": "wind3",
"tailwind": "tailwind4",
"unoOnly": 1740,
"tailwindOnly": 9715,
"unoExamples": [
"-order-first",
"-order-last",
"@dark:bg-red-500",
"accent-amber",
"accent-blue",
"accent-bluegray",
"accent-coolgray",
"accent-cyan",
"accent-dark",
"accent-emerald",
"accent-fuchsia",
"accent-gray"
],
"tailwindExamples": [
"-bg-conic-0",
"-bg-conic-120",
"-bg-conic-150",
"-bg-conic-180",
"-bg-conic-210",
"-bg-conic-240",
"-bg-conic-270",
"-bg-conic-30",
"-bg-conic-300",
"-bg-conic-330",
"-bg-conic-60",
"-bg-conic-90"
]
},
{
"uno": "wind4",
"tailwind": "tailwind3",
"unoOnly": 13954,
"tailwindOnly": 218,
"unoExamples": [
"-bottom-1/12",
"-bottom-1/5",
"-bottom-1/6",
"-bottom-10/12",
"-bottom-11/12",
"-bottom-2/12",
"-bottom-2/5",
"-bottom-2/6",
"-bottom-3/12",
"-bottom-3/5",
"-bottom-3/6",
"-bottom-4/12"
],
"tailwindExamples": [
"-order-none",
"-scroll-me-0",
"-scroll-me-0.5",
"-scroll-me-1",
"-scroll-me-1.5",
"-scroll-me-10",
"-scroll-me-11",
"-scroll-me-12",
"-scroll-me-14",
"-scroll-me-16",
"-scroll-me-2",
"-scroll-me-2.5"
]
},
{
"uno": "wind4",
"tailwind": "tailwind4",
"unoOnly": 1836,
"tailwindOnly": 279,
"unoExamples": [
"-order-first",
"-order-last",
"@dark:bg-red-500",
"accent-amber",
"accent-blue",
"accent-cyan",
"accent-dark",
"accent-emerald",
"accent-fuchsia",
"accent-gray",
"accent-green",
"accent-indigo"
],
"tailwindExamples": [
"-bg-conic-0",
"-bg-conic-120",
"-bg-conic-150",
"-bg-conic-180",
"-bg-conic-210",
"-bg-conic-240",
"-bg-conic-270",
"-bg-conic-30",
"-bg-conic-300",
"-bg-conic-330",
"-bg-conic-60",
"-bg-conic-90"
]
}
],
"fixedVocabularyCompilerChecks": 13480,
"examples": [
{
"token": "!p-4",
"mask": "1111",
"tailwind3": ".\\!p-4 {\n padding: 1rem !important\n}",
"tailwind4": ".\\!p-4 {\n padding: calc(var(--spacing) * 4) !important;\n}\n",
"wind3": [
{
"selector": ".\\!p-4",
"body": "padding:1rem !important;"
}
],
"wind4": [
{
"selector": ".\\!p-4",
"body": "padding:calc(var(--spacing) * 4) !important;"
}
]
},
{
"token": "@dark:bg-red-500",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".\\@dark\\:bg-red-500",
"body": "--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));",
"parent": "@media (prefers-color-scheme: dark)"
}
],
"wind4": [
{
"selector": ".\\@dark\\:bg-red-500",
"body": "background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);",
"parent": "@media (prefers-color-scheme: dark)"
},
{
"selector": "@property --un-bg-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".\\@dark\\:bg-red-500",
"body": "background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red)) $$ @media (prefers-color-scheme: dark)"
}
]
},
{
"token": "[contain:inline-size]",
"mask": "1111",
"tailwind3": ".\\[contain\\:inline-size\\] {\n contain: inline-size\n}",
"tailwind4": ".\\[contain\\:inline-size\\] {\n contain: inline-size;\n}\n",
"wind3": [
{
"selector": ".\\[contain\\:inline-size\\]",
"body": "contain:inline-size;"
}
],
"wind4": [
{
"selector": ".\\[contain\\:inline-size\\]",
"body": "contain:inline-size;"
}
]
},
{
"token": "[scroll-margin-inline-start:1rem]",
"mask": "1111",
"tailwind3": ".\\[scroll-margin-inline-start\\:1rem\\] {\n scroll-margin-inline-start: 1rem\n}",
"tailwind4": ".\\[scroll-margin-inline-start\\:1rem\\] {\n scroll-margin-inline-start: 1rem;\n}\n",
"wind3": [
{
"selector": ".\\[scroll-margin-inline-start\\:1rem\\]",
"body": "scroll-margin-inline-start:1rem;"
}
],
"wind4": [
{
"selector": ".\\[scroll-margin-inline-start\\:1rem\\]",
"body": "scroll-margin-inline-start:1rem;"
}
]
},
{
"token": "accent-auto",
"mask": "1100",
"tailwind3": ".accent-auto {\n accent-color: auto\n}",
"tailwind4": ".accent-auto {\n accent-color: auto;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "all:p-2",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".all\\:p-2 *",
"body": "padding:0.5rem;"
}
],
"wind4": [
{
"selector": ".all\\:p-2 *",
"body": "padding:calc(var(--spacing) * 2);"
}
]
},
{
"token": "animate-bounce-alt",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"body": "@keyframes bounce-alt{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}"
},
{
"selector": ".animate-bounce-alt",
"body": "animation:bounce-alt 1s linear infinite;transform-origin:center bottom;"
}
],
"wind4": [
{
"body": "@keyframes bounce-alt{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}"
},
{
"selector": ".animate-bounce-alt",
"body": "animation:bounce-alt 1s linear infinite;transform-origin:center bottom;"
}
]
},
{
"token": "animate-fade-in",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"body": "@keyframes fade-in{from{opacity:0}to{opacity:1}}"
},
{
"selector": ".animate-fade-in",
"body": "animation:fade-in 1s linear 1;"
}
],
"wind4": [
{
"body": "@keyframes fade-in{from{opacity:0}to{opacity:1}}"
},
{
"selector": ".animate-fade-in",
"body": "animation:fade-in 1s linear 1;"
}
]
},
{
"token": "aria-checked:bg-red-500",
"mask": "1111",
"tailwind3": ".aria-checked\\:bg-red-500[aria-checked=\"true\"] {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1))\n}",
"tailwind4": ".aria-checked\\:bg-red-500[aria-checked=\"true\"] {\n background-color: var(--color-red-500);\n}\n",
"wind3": [
{
"selector": ".aria-checked\\:bg-red-500[aria-checked=\"true\"]",
"body": "--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));"
}
],
"wind4": [
{
"selector": ".aria-checked\\:bg-red-500[aria-checked=\"true\"]",
"body": "background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);"
},
{
"selector": "@property --un-bg-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".aria-checked\\:bg-red-500[aria-checked=\"true\"]",
"body": "background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "at-md:flex",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".at-md\\:flex",
"body": "display:flex;",
"parent": "@media (min-width: 768px) and (max-width: 1023.9px)"
}
],
"wind4": [
{
"selector": ".at-md\\:flex",
"body": "display:flex;",
"parent": "@media (min-width: 48rem) and (max-width: calc(64rem - 0.1px))"
}
]
},
{
"token": "before:content-['Hi']",
"mask": "1111",
"tailwind3": ".before\\:content-\\[\\'Hi\\'\\]::before {\n --tw-content: 'Hi';\n content: var(--tw-content)\n}",
"tailwind4": ".before\\:content-\\[\\'Hi\\'\\]::before {\n --tw-content: 'Hi';\n content: var(--tw-content);\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n",
"wind3": [
{
"selector": ".before\\:content-\\[\\'Hi\\'\\]::before",
"body": "content:'Hi';"
}
],
"wind4": [
{
"selector": ".before\\:content-\\[\\'Hi\\'\\]::before",
"body": "--un-content:'Hi';content:var(--un-content);"
},
{
"selector": "@property --un-content",
"body": "syntax:\"*\";inherits:false;initial-value:\"\";"
}
]
},
{
"token": "before:content-empty",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".before\\:content-empty::before",
"body": "content:\"\";"
}
],
"wind4": [
{
"selector": ".before\\:content-empty::before",
"body": "content:\"\";"
}
]
},
{
"token": "bg-$brand",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".bg-\\$brand",
"body": "background-color:var(--brand);"
}
],
"wind4": [
{
"selector": ".bg-\\$brand",
"body": "background-color:var(--brand);"
}
]
},
{
"token": "bg-(--brand)",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".bg-\\(--brand\\) {\n background-color: var(--brand);\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".bg-\\(--brand\\)",
"body": "background-color:var(--brand);"
}
]
},
{
"token": "bg-[center_top_1rem]",
"mask": "1111",
"tailwind3": ".bg-\\[center_top_1rem\\] {\n background-position: center top 1rem\n}",
"tailwind4": ".bg-\\[center_top_1rem\\] {\n background-position: center top 1rem;\n}\n",
"wind3": [
{
"selector": ".bg-\\[center_top_1rem\\]",
"body": "background-color:center top 1rem;"
}
],
"wind4": [
{
"selector": ".bg-\\[center_top_1rem\\]",
"body": "background-color:color-mix(in oklab, center top 1rem var(--un-bg-opacity), transparent);"
},
{
"selector": "@property --un-bg-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
}
]
},
{
"token": "bg-[position:center_top_1rem]",
"mask": "1111",
"tailwind3": ".bg-\\[position\\:center_top_1rem\\] {\n background-position: center top 1rem\n}",
"tailwind4": ".bg-\\[position\\:center_top_1rem\\] {\n background-position: center top 1rem;\n}\n",
"wind3": [
{
"selector": ".bg-\\[position\\:center_top_1rem\\]",
"body": "background-position:center top 1rem;"
}
],
"wind4": [
{
"selector": ".bg-\\[position\\:center_top_1rem\\]",
"body": "background-position:center top 1rem;"
}
]
},
{
"token": "bg-[var(--brand)]",
"mask": "1111",
"tailwind3": ".bg-\\[var\\(--brand\\)\\] {\n background-color: var(--brand)\n}",
"tailwind4": ".bg-\\[var\\(--brand\\)\\] {\n background-color: var(--brand);\n}\n",
"wind3": [
{
"selector": ".bg-\\[var\\(--brand\\)\\]",
"body": "background-color:var(--brand);"
}
],
"wind4": [
{
"selector": ".bg-\\[var\\(--brand\\)\\]",
"body": "background-color:var(--brand);"
}
]
},
{
"token": "bg-blue",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".bg-blue",
"body": "--un-bg-opacity:1;background-color:rgb(96 165 250 / var(--un-bg-opacity));"
}
],
"wind4": [
{
"selector": ".bg-blue",
"body": "background-color:color-mix(in srgb, var(--colors-blue-DEFAULT) var(--un-bg-opacity), transparent);"
},
{
"selector": "@property --un-bg-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".bg-blue",
"body": "background-color:color-mix(in oklab, var(--colors-blue-DEFAULT) var(--un-bg-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "bg-conic-45",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".bg-conic-45 {\n --tw-gradient-position: from 45deg in oklab;\n background-image: conic-gradient(var(--tw-gradient-stops));\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".bg-conic-45",
"body": "--un-gradient-position:from 45deg in oklab;;background-image:conic-gradient(var(--un-gradient-stops));"
}
]
},
{
"token": "bg-gradient-to-r",
"mask": "1111",
"tailwind3": ".bg-gradient-to-r {\n background-image: linear-gradient(to right, var(--tw-gradient-stops))\n}",
"tailwind4": ".bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n}\n",
"wind3": [
{
"selector": ".bg-gradient-to-r",
"body": "--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));"
}
],
"wind4": [
{
"selector": ".bg-gradient-to-r",
"body": "--un-gradient-position:to right in oklab;background-image:linear-gradient(var(--un-gradient-stops));"
}
]
},
{
"token": "bg-linear-to-r",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".bg-linear-to-r {\n --tw-gradient-position: to right;\n @supports (background-image: linear-gradient(in lab, red, red)) {\n --tw-gradient-position: to right in oklab;\n }\n background-image: linear-gradient(var(--tw-gradient-stops));\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".bg-linear-to-r",
"body": "--un-gradient-position:to right in oklab;background-image:linear-gradient(var(--un-gradient-stops));"
}
]
},
{
"token": "bg-op-25",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".bg-op-25",
"body": "--un-bg-opacity:0.25;"
}
],
"wind4": [
{
"selector": ".bg-op-25",
"body": "--un-bg-opacity:25%;"
}
]
},
{
"token": "bg-radial",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".bg-radial {\n --tw-gradient-position: in oklab;\n background-image: radial-gradient(var(--tw-gradient-stops));\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".bg-radial",
"body": "--un-gradient-position: in oklab;background-image:radial-gradient(var(--un-gradient-stops));"
}
]
},
{
"token": "box-decoration-clone",
"mask": "1111",
"tailwind3": ".box-decoration-clone {\n box-decoration-break: clone\n}",
"tailwind4": ".box-decoration-clone {\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n}\n",
"wind3": [
{
"selector": ".box-decoration-clone",
"body": "box-decoration-break:clone;"
}
],
"wind4": [
{
"selector": ".box-decoration-clone",
"body": "box-decoration-break:clone;"
}
]
},
{
"token": "children:p-2",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".children\\:p-2>*",
"body": "padding:0.5rem;"
}
],
"wind4": [
{
"selector": ".children\\:p-2>*",
"body": "padding:calc(var(--spacing) * 2);"
}
]
},
{
"token": "color-red-500",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".color-red-500",
"body": "--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity));"
}
],
"wind4": [
{
"selector": ".color-red-500",
"body": "color:color-mix(in srgb, var(--colors-red-500) var(--un-text-opacity), transparent);"
},
{
"selector": "@property --un-text-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".color-red-500",
"body": "color:color-mix(in oklab, var(--colors-red-500) var(--un-text-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "contain-inline-size",
"mask": "1110",
"tailwind3": ".contain-inline-size {\n @defaults contain {}\n --tw-contain-size: inline-size;\n contain: var(--tw-contain-size) var(--tw-contain-layout) var(--tw-contain-paint) var(--tw-contain-style)\n}",
"tailwind4": ".contain-inline-size {\n --tw-contain-size: inline-size;\n contain: var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,);\n}\n@property --tw-contain-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contain-layout {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contain-paint {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contain-style {\n syntax: \"*\";\n inherits: false;\n}\n",
"wind3": [
{
"selector": ".contain-inline-size",
"body": "contain:inline-size;"
}
],
"wind4": null
},
{
"token": "data-[state=open]:block",
"mask": "1111",
"tailwind3": ".data-\\[state\\=open\\]\\:block[data-state=\"open\"] {\n display: block\n}",
"tailwind4": ".data-\\[state\\=open\\]\\:block[data-state=\"open\"] {\n display: block;\n}\n",
"wind3": [
{
"selector": ".data-\\[state\\=open\\]\\:block[data-state=open]",
"body": "display:block;"
}
],
"wind4": [
{
"selector": ".data-\\[state\\=open\\]\\:block[data-state=open]",
"body": "display:block;"
}
]
},
{
"token": "decoration-clone",
"mask": "1100",
"tailwind3": ".decoration-clone {\n box-decoration-break: clone\n}",
"tailwind4": ".decoration-clone {\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "decoration-slice",
"mask": "1100",
"tailwind3": ".decoration-slice {\n box-decoration-break: slice\n}",
"tailwind4": ".decoration-slice {\n -webkit-box-decoration-break: slice;\n box-decoration-break: slice;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "duration-initial",
"mask": "0100",
"tailwind3": "",
"tailwind4": ".duration-initial {\n --tw-duration: initial;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "ease",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".ease",
"body": "transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);"
}
],
"wind4": [
{
"selector": ".ease",
"body": "--un-ease:var(--ease-DEFAULT);transition-timing-function:var(--ease-DEFAULT);"
},
{
"selector": "@property --un-ease",
"body": "syntax:\"*\";inherits:false;"
}
]
},
{
"token": "flex-2",
"mask": "0100",
"tailwind3": "",
"tailwind4": ".flex-2 {\n flex: 2;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "flex-[2]",
"mask": "1111",
"tailwind3": ".flex-\\[2\\] {\n flex: 2\n}",
"tailwind4": ".flex-\\[2\\] {\n flex: 2;\n}\n",
"wind3": [
{
"selector": ".flex-\\[2\\]",
"body": "flex:2;"
}
],
"wind4": [
{
"selector": ".flex-\\[2\\]",
"body": "flex:2;"
}
]
},
{
"token": "group-hover:text-white",
"mask": "1111",
"tailwind3": ".group:hover .group-hover\\:text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}",
"tailwind4": "@media (hover: hover) {\n .group-hover\\:text-white:is(:where(.group):hover *) {\n color: var(--color-white);\n }\n}\n",
"wind3": [
{
"selector": ".group:hover .group-hover\\:text-white",
"body": "--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));"
}
],
"wind4": [
{
"selector": ".group:hover .group-hover\\:text-white",
"body": "color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);"
},
{
"selector": "@property --un-text-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".group:hover .group-hover\\:text-white",
"body": "color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "group/card",
"mask": "0000",
"tailwind3": "",
"tailwind4": null,
"wind3": null,
"wind4": null
},
{
"token": "h-50vh",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".h-50vh",
"body": "height:50vh;"
}
],
"wind4": [
{
"selector": ".h-50vh",
"body": "height:50vh;"
}
]
},
{
"token": "h-[1lh]",
"mask": "1111",
"tailwind3": ".h-\\[1lh\\] {\n height: 1lh\n}",
"tailwind4": ".h-\\[1lh\\] {\n height: 1lh;\n}\n",
"wind3": [
{
"selector": ".h-\\[1lh\\]",
"body": "height:1lh;"
}
],
"wind4": [
{
"selector": ".h-\\[1lh\\]",
"body": "height:1lh;"
}
]
},
{
"token": "h-lh",
"mask": "0100",
"tailwind3": "",
"tailwind4": ".h-lh {\n height: 1lh;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "hover:!p-4",
"mask": "1111",
"tailwind3": ".hover\\:\\!p-4:hover {\n padding: 1rem !important\n}",
"tailwind4": "@media (hover: hover) {\n .hover\\:\\!p-4:hover {\n padding: calc(var(--spacing) * 4) !important;\n }\n}\n",
"wind3": [
{
"selector": ".hover\\:\\!p-4:hover",
"body": "padding:1rem !important;"
}
],
"wind4": [
{
"selector": ".hover\\:\\!p-4:hover",
"body": "padding:calc(var(--spacing) * 4) !important;"
}
]
},
{
"token": "hover:bg-red-500",
"mask": "1111",
"tailwind3": ".hover\\:bg-red-500:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1))\n}",
"tailwind4": "@media (hover: hover) {\n .hover\\:bg-red-500:hover {\n background-color: var(--color-red-500);\n }\n}\n",
"wind3": [
{
"selector": ".hover\\:bg-red-500:hover",
"body": "--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity));"
}
],
"wind4": [
{
"selector": ".hover\\:bg-red-500:hover",
"body": "background-color:color-mix(in srgb, var(--colors-red-500) var(--un-bg-opacity), transparent);"
},
{
"selector": "@property --un-bg-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".hover\\:bg-red-500:hover",
"body": "background-color:color-mix(in oklab, var(--colors-red-500) var(--un-bg-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "hover:focus:text-white",
"mask": "1111",
"tailwind3": ".hover\\:focus\\:text-white:focus:hover {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}",
"tailwind4": "@media (hover: hover) {\n .hover\\:focus\\:text-white:hover:focus {\n color: var(--color-white);\n }\n}\n",
"wind3": [
{
"selector": ".hover\\:focus\\:text-white:focus:hover",
"body": "--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));"
}
],
"wind4": [
{
"selector": ".hover\\:focus\\:text-white:focus:hover",
"body": "color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);"
},
{
"selector": "@property --un-text-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".hover\\:focus\\:text-white:focus:hover",
"body": "color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "hover:p-4!",
"mask": "0111",
"tailwind3": "",
"tailwind4": "@media (hover: hover) {\n .hover\\:p-4\\!:hover {\n padding: calc(var(--spacing) * 4) !important;\n }\n}\n",
"wind3": [
{
"selector": ".hover\\:p-4\\!:hover",
"body": "padding:1rem !important;"
}
],
"wind4": [
{
"selector": ".hover\\:p-4\\!:hover",
"body": "padding:calc(var(--spacing) * 4) !important;"
}
]
},
{
"token": "inert:opacity-50",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".inert\\:opacity-50:is([inert], [inert] *) {\n opacity: 50%;\n}\n",
"wind3": null,
"wind4": [
{
"selector": "&:is([inert],[inert] *)",
"body": "opacity:50%;",
"parent": ".inert\\:opacity-50"
}
]
},
{
"token": "inset-shadow-sm",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".inset-shadow-sm {\n --tw-inset-shadow: inset 0 2px 4px var(--tw-inset-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".inset-shadow-sm",
"body": "--un-inset-shadow:inset 0 2px 4px var(--un-inset-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);"
},
{
"selector": "@property --un-shadow",
"body": "syntax:\"*\";inherits:false;initial-value:0 0 #0000;"
},
{
"selector": "@property --un-shadow-color",
"body": "syntax:\"*\";inherits:false;"
},
{
"selector": "@property --un-inset-shadow",
"body": "syntax:\"*\";inherits:false;initial-value:0 0 #0000;"
},
{
"selector": "@property --un-inset-shadow-color",
"body": "syntax:\"*\";inherits:false;"
},
{
"selector": "@property --un-ring-color",
"body": "syntax:\"*\";inherits:false;"
},
{
"selector": "@property --un-ring-shadow",
"body": "syntax:\"*\";inherits:false;initial-value:0 0 #0000;"
},
{
"selector": "@property --un-inset-ring-color",
"body": "syntax:\"*\";inherits:false;"
},
{
"selector": "@property --un-inset-ring-shadow",
"body": "syntax:\"*\";inherits:false;initial-value:0 0 #0000;"
},
{
"selector": "@property --un-ring-inset",
"body": "syntax:\"*\";inherits:false;"
},
{
"selector": "@property --un-ring-offset-width",
"body": "syntax:\"<length>\";inherits:false;initial-value:0px;"
},
{
"selector": "@property --un-ring-offset-color",
"body": "syntax:\"*\";inherits:false;"
},
{
"selector": "@property --un-ring-offset-shadow",
"body": "syntax:\"*\";inherits:false;initial-value:0 0 #0000;"
}
]
},
{
"token": "justify-baseline",
"mask": "0100",
"tailwind3": "",
"tailwind4": ".justify-baseline {\n justify-content: baseline;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "lt-md:hidden",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".lt-md\\:hidden",
"body": "display:none;",
"parent": "@media (max-width: 767.9px)"
}
],
"wind4": [
{
"selector": ".lt-md\\:hidden",
"body": "display:none;",
"parent": "@media (max-width: calc(48rem - 0.1px))"
}
]
},
{
"token": "m-1.5rem",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".m-1\\.5rem",
"body": "margin:1.5rem;"
}
],
"wind4": [
{
"selector": ".m-1\\.5rem",
"body": "margin:1.5rem;"
}
]
},
{
"token": "mask-circle",
"mask": "0100",
"tailwind3": "",
"tailwind4": ".mask-circle {\n --tw-mask-radial-shape: circle;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "mask-ellipse",
"mask": "0100",
"tailwind3": "",
"tailwind4": ".mask-ellipse {\n --tw-mask-radial-shape: ellipse;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "mask-linear-45",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".mask-linear-45 {\n mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);\n mask-composite: intersect;\n --tw-mask-linear: linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)));\n --tw-mask-linear-position: calc(1deg * 45);\n}\n@property --tw-mask-linear {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-radial {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-conic {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-linear-position {\n syntax: \"*\";\n inherits: false;\n initial-value: 0deg;\n}\n@property --tw-mask-linear-from-position {\n syntax: \"*\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-mask-linear-to-position {\n syntax: \"*\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-mask-linear-from-color {\n syntax: \"*\";\n inherits: false;\n initial-value: black;\n}\n@property --tw-mask-linear-to-color {\n syntax: \"*\";\n inherits: false;\n initial-value: transparent;\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".mask-linear-45",
"body": "mask-image:var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic);mask-composite:intersect;--un-mask-linear:linear-gradient(var(--un-mask-linear-stops, var(--un-mask-linear-position)));--un-mask-linear-position:calc(1deg * 45);"
},
{
"selector": "@property --un-mask-linear",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-radial",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-conic",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-linear-position",
"body": "syntax:\"*\";inherits:false;initial-value:0deg;"
},
{
"selector": "@property --un-mask-linear-from-position",
"body": "syntax:\"<length-percentage>\";inherits:false;initial-value:0%;"
},
{
"selector": "@property --un-mask-linear-from-color",
"body": "syntax:\"<color>\";inherits:false;initial-value:black;"
},
{
"selector": "@property --un-mask-linear-position",
"body": "syntax:\"*\";inherits:false;initial-value:0deg;"
},
{
"selector": "@property --un-mask-linear-to-position",
"body": "syntax:\"<length-percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": "@property --un-mask-linear-to-color",
"body": "syntax:\"<color>\";inherits:false;initial-value:transparent;"
}
]
},
{
"token": "mask-r-from-50%",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".mask-r-from-50\\% {\n mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);\n mask-composite: intersect;\n --tw-mask-linear: var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);\n --tw-mask-right: linear-gradient(to right, var(--tw-mask-right-from-color) var(--tw-mask-right-from-position), var(--tw-mask-right-to-color) var(--tw-mask-right-to-position));\n --tw-mask-right-from-position: 50%;\n}\n@property --tw-mask-linear {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-radial {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-conic {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-left {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-right {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-bottom {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-top {\n syntax: \"*\";\n inherits: false;\n initial-value: linear-gradient(#fff, #fff);\n}\n@property --tw-mask-right-from-position {\n syntax: \"*\";\n inherits: false;\n initial-value: 0%;\n}\n@property --tw-mask-right-to-position {\n syntax: \"*\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-mask-right-from-color {\n syntax: \"*\";\n inherits: false;\n initial-value: black;\n}\n@property --tw-mask-right-to-color {\n syntax: \"*\";\n inherits: false;\n initial-value: transparent;\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".mask-r-from-50\\%",
"body": "mask-image:var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic);mask-composite:intersect;--un-mask-linear:var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top);--un-mask-right:linear-gradient(to right, var(--un-mask-right-from-color) var(--un-mask-right-from-position), var(--un-mask-right-to-color) var(--un-mask-right-to-position));--un-mask-right-from-position:50%;"
},
{
"selector": "@property --un-mask-linear",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-radial",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-conic",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-right-from-position",
"body": "syntax:\"<length-percentage>\";inherits:false;initial-value:0%;"
},
{
"selector": "@property --un-mask-right-from-color",
"body": "syntax:\"<color>\";inherits:false;initial-value:black;"
},
{
"selector": "@property --un-mask-right-to-position",
"body": "syntax:\"<length-percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": "@property --un-mask-right-to-color",
"body": "syntax:\"<color>\";inherits:false;initial-value:transparent;"
},
{
"selector": "@property --un-mask-top",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-right",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-bottom",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
},
{
"selector": "@property --un-mask-left",
"body": "syntax:\"*\";inherits:false;initial-value:linear-gradient(#fff, #fff);"
}
]
},
{
"token": "max-md:hidden",
"mask": "1111",
"tailwind3": "@media not all and (min-width: 768px) {\n .max-md\\:hidden {\n display: none\n }\n}",
"tailwind4": "@media (width < 48rem) {\n .max-md\\:hidden {\n display: none;\n }\n}\n",
"wind3": [
{
"selector": ".max-md\\:hidden",
"body": "display:none;",
"parent": "@media (max-width: 767.9px)"
}
],
"wind4": [
{
"selector": ".max-md\\:hidden",
"body": "display:none;",
"parent": "@media (max-width: calc(48rem - 0.1px))"
}
]
},
{
"token": "mix-blend-plus-darker",
"mask": "1100",
"tailwind3": ".mix-blend-plus-darker {\n mix-blend-mode: plus-darker\n}",
"tailwind4": ".mix-blend-plus-darker {\n mix-blend-mode: plus-darker;\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "not-hover:opacity-50",
"mask": "0111",
"tailwind3": "",
"tailwind4": ".not-hover\\:opacity-50:not(:hover) {\n opacity: 50%;\n}\n@media not (hover: hover) {\n .not-hover\\:opacity-50 {\n opacity: 50%;\n }\n}\n",
"wind3": [
{
"selector": ".not-hover\\:opacity-50:not(:hover)",
"body": "opacity:0.5;"
}
],
"wind4": [
{
"selector": ".not-hover\\:opacity-50:not(:hover)",
"body": "opacity:50%;"
}
]
},
{
"token": "op-50",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".op-50",
"body": "opacity:0.5;"
}
],
"wind4": [
{
"selector": ".op-50",
"body": "opacity:50%;"
}
]
},
{
"token": "p-16px",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".p-16px",
"body": "padding:16px;"
}
],
"wind4": [
{
"selector": ".p-16px",
"body": "padding:16px;"
}
]
},
{
"token": "p-4!",
"mask": "0111",
"tailwind3": "",
"tailwind4": ".p-4\\! {\n padding: calc(var(--spacing) * 4) !important;\n}\n",
"wind3": [
{
"selector": ".p-4\\!",
"body": "padding:1rem !important;"
}
],
"wind4": [
{
"selector": ".p-4\\!",
"body": "padding:calc(var(--spacing) * 4) !important;"
}
]
},
{
"token": "p-[16px]",
"mask": "1111",
"tailwind3": ".p-\\[16px\\] {\n padding: 16px\n}",
"tailwind4": ".p-\\[16px\\] {\n padding: 16px;\n}\n",
"wind3": [
{
"selector": ".p-\\[16px\\]",
"body": "padding:16px;"
}
],
"wind4": [
{
"selector": ".p-\\[16px\\]",
"body": "padding:16px;"
}
]
},
{
"token": "peer-checked:text-white",
"mask": "1111",
"tailwind3": ".peer:checked ~ .peer-checked\\:text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}",
"tailwind4": ".peer-checked\\:text-white:is(:where(.peer):checked ~ *) {\n color: var(--color-white);\n}\n",
"wind3": [
{
"selector": ".peer:checked~.peer-checked\\:text-white",
"body": "--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));"
}
],
"wind4": [
{
"selector": ".peer:checked~.peer-checked\\:text-white",
"body": "color:color-mix(in srgb, var(--colors-white) var(--un-text-opacity), transparent);"
},
{
"selector": "@property --un-text-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".peer:checked~.peer-checked\\:text-white",
"body": "color:color-mix(in oklab, var(--colors-white) var(--un-text-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "peer/input",
"mask": "0000",
"tailwind3": "",
"tailwind4": null,
"wind3": null,
"wind4": null
},
{
"token": "rounded-8px",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".rounded-8px",
"body": "border-radius:8px;"
}
],
"wind4": [
{
"selector": ".rounded-8px",
"body": "border-radius:8px;"
}
]
},
{
"token": "safe-area-inset-top",
"mask": "0000",
"tailwind3": "",
"tailwind4": null,
"wind3": null,
"wind4": null
},
{
"token": "scroll-ms-4",
"mask": "1100",
"tailwind3": ".scroll-ms-4 {\n scroll-margin-inline-start: 1rem\n}",
"tailwind4": ".scroll-ms-4 {\n scroll-margin-inline-start: calc(var(--spacing) * 4);\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "scroll-ps-4",
"mask": "1100",
"tailwind3": ".scroll-ps-4 {\n scroll-padding-inline-start: 1rem\n}",
"tailwind4": ".scroll-ps-4 {\n scroll-padding-inline-start: calc(var(--spacing) * 4);\n}\n",
"wind3": null,
"wind4": null
},
{
"token": "scrollbar-none",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".scrollbar-none {\n scrollbar-width: none;\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".scrollbar-none",
"body": "scrollbar-width:none;"
}
]
},
{
"token": "scrollbar-rounded",
"mask": "0000",
"tailwind3": "",
"tailwind4": null,
"wind3": null,
"wind4": null
},
{
"token": "scrollbar-thin",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".scrollbar-thin {\n scrollbar-width: thin;\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".scrollbar-thin",
"body": "scrollbar-width:thin;"
}
]
},
{
"token": "sm:flex",
"mask": "1111",
"tailwind3": "@media (min-width: 640px) {\n .sm\\:flex {\n display: flex\n }\n}",
"tailwind4": "@media (width >= 40rem) {\n .sm\\:flex {\n display: flex;\n }\n}\n",
"wind3": [
{
"selector": ".sm\\:flex",
"body": "display:flex;",
"parent": "@media (min-width: 640px)"
}
],
"wind4": [
{
"selector": ".sm\\:flex",
"body": "display:flex;",
"parent": "@media (min-width: 40rem)"
}
]
},
{
"token": "starting:opacity-0",
"mask": "0111",
"tailwind3": "",
"tailwind4": "@starting-style {\n .starting\\:opacity-0 {\n opacity: 0%;\n }\n}\n",
"wind3": [
{
"selector": ".starting\\:opacity-0",
"body": "opacity:0;",
"parent": "@starting-style"
}
],
"wind4": [
{
"selector": ".starting\\:opacity-0",
"body": "opacity:0%;",
"parent": "@starting-style"
}
]
},
{
"token": "text-16px",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".text-16px",
"body": "font-size:16px;"
}
],
"wind4": [
{
"selector": ".text-16px",
"body": "font-size:16px;"
}
]
},
{
"token": "text-op-50",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".text-op-50",
"body": "--un-text-opacity:0.5;"
}
],
"wind4": [
{
"selector": ".text-op-50",
"body": "--un-text-opacity:50%;"
}
]
},
{
"token": "text-red",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".text-red",
"body": "--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity));"
}
],
"wind4": [
{
"selector": ".text-red",
"body": "color:color-mix(in srgb, var(--colors-red-DEFAULT) var(--un-text-opacity), transparent);"
},
{
"selector": "@property --un-text-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".text-red",
"body": "color:color-mix(in oklab, var(--colors-red-DEFAULT) var(--un-text-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "text-shadow-red-500",
"mask": "0101",
"tailwind3": "",
"tailwind4": ".text-shadow-red-500 {\n --tw-text-shadow-color: color-mix(in oklab, var(--color-red-500) var(--tw-text-shadow-alpha), transparent);\n}\n@property --tw-text-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-text-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n",
"wind3": null,
"wind4": [
{
"selector": ".text-shadow-red-500",
"body": "--un-text-shadow-color:color-mix(in srgb, var(--colors-red-500) var(--un-text-shadow-opacity), transparent);"
},
{
"selector": "@property --un-text-shadow-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".text-shadow-red-500",
"body": "--un-text-shadow-color:color-mix(in oklab, var(--colors-red-500) var(--un-text-shadow-opacity), transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "text-shadow-sm",
"mask": "0111",
"tailwind3": "",
"tailwind4": ".text-shadow-sm {\n text-shadow: 0px 1px 0px var(--tw-text-shadow-color, rgb(0 0 0 / 0.075)), 0px 1px 1px var(--tw-text-shadow-color, rgb(0 0 0 / 0.075)), 0px 2px 2px var(--tw-text-shadow-color, rgb(0 0 0 / 0.075));\n}\n@property --tw-text-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-text-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n",
"wind3": [
{
"selector": ".text-shadow-sm",
"body": "--un-text-shadow:1px 1px 3px var(--un-text-shadow-color, rgb(36 37 47 / 0.25));text-shadow:var(--un-text-shadow);"
}
],
"wind4": [
{
"selector": ".text-shadow-sm",
"body": "--un-text-shadow:0 1px 0 var(--un-text-shadow-color, rgb(0 0 0 / 0.075)),0 1px 1px var(--un-text-shadow-color, rgb(0 0 0 / 0.075)),0 2px 2px var(--un-text-shadow-color, rgb(0 0 0 / 0.075));text-shadow:var(--un-text-shadow);"
}
]
},
{
"token": "text-white/72",
"mask": "0111",
"tailwind3": "",
"tailwind4": ".text-white\\/72 {\n color: color-mix(in oklab, var(--color-white) 72%, transparent);\n}\n",
"wind3": [
{
"selector": ".text-white\\/72",
"body": "color:rgb(255 255 255 / 0.72);"
}
],
"wind4": [
{
"selector": ".text-white\\/72",
"body": "color:color-mix(in srgb, var(--colors-white) 72%, transparent);"
},
{
"selector": "@property --un-text-opacity",
"body": "syntax:\"<percentage>\";inherits:false;initial-value:100%;"
},
{
"selector": ".text-white\\/72",
"body": "color:color-mix(in oklab, var(--colors-white) 72%, transparent);",
"parent": "@supports (color: color-mix(in lab, red, red))"
}
]
},
{
"token": "w-100%",
"mask": "0011",
"tailwind3": "",
"tailwind4": null,
"wind3": [
{
"selector": ".w-100\\%",
"body": "width:100%;"
}
],
"wind4": [
{
"selector": ".w-100\\%",
"body": "width:100%;"
}
]
}
]
}