示例
Customizing theme keys directly replaces the entire default design system causing standard utilities to silently disappear unless nested under theme.extend
sha256:7dd66cb3196dc533098bf2810efc8bd7be62f01a9028382fa6e77873e642b875
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Customizing theme keys directly replaces the entire default design system causing standard utilities to silently disappear unless nested under theme.extend HOW
- 包
- postcss 8.4.49 tailwindcss 3.4.17
- 环境
- node
- 创建时间
- 2026-08-16T07:54:42Z
契约
- resolveConfig with top-level theme.colors replaces entire palette leaving only custom keys and wiping default colors
- resolveConfig with top-level theme.spacing replaces entire scale leaving only custom keys and wiping default spacing
- resolveConfig with theme.extend preserves default colors and spacing while adding custom tokens
- postcss compilation with top-level theme emits custom utilities but silently omits default color and spacing utilities
- postcss compilation with theme.extend emits both custom and default utility classes
文件
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9