Sample
Ensure --spacing(0) optimizes to 0px in calc expressions and text-[--spacing(...)] infers font-size rather than color
sha256:c7adf66e51c8308dfb116452756cd9d4b95c950bd266ec288f812a7bb6f2d0ed
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Ensure --spacing(0) optimizes to 0px in calc expressions and text-[--spacing(...)] infers font-size rather than color HOW
- Packages
- @tailwindcss/postcss 4.3.3 postcss 8.5.6 tailwindcss 4.3.3
- Environment
- node
- Created
- 2026-08-16T07:54:30Z
Contract
- compile CSS with Tailwind CSS v4 postcss plugin
- assert w-[calc(100%---spacing(0))] generates calc(100% - 0px) to preserve valid CSS length arithmetic
- assert unitless 0 is not generated in length calc expressions
- assert overloaded utility text-[--spacing(4)] generates font-size rather than color declaration
- assert bare spacing scale values work for auto-rows-12
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9