4 of 6 standards met
What version of Tailwind CSS are you using? "@tailwindcss/vite": "^4.2.1", "tailwindcss": "^4.2.1", What build tool (or framework if it abstracts the build tool) are you using? "vite": "^7.3.1" What version of Node.js are you using? Node v24.6.0 Npm 11.5.1 What browser are you using? Browser doesn't matter as it's the that fails. What operating system are you using? Windows, OSX Reproduction URL https://github.com/caalador/tailwind-import-failure steps to reproduce: npm install npm run dev open page to get internal error. To fix project add ./ to styles.css components.css import Describe your issue** When building a project with css containing imports that are from the same directory, but are not prepended with so like but written as the vite plugin fails to find the imported class and fails with Expectation would be that file in same directory would be found and not throw an exception. This issue has come up with many users as the expectation is that it would be searched from the same folder as the requesting file as this works with normal vite. Some css with imports are in external projects where the import can not be manually fixed by the developer using the add-on.
Version: tailwindcss@4.1.18 Framework: Next.js 15 (App Router) Behavior: Class appears in the HTML class="" attribute but no matching CSS rule is generated. The container collapses to 0 height. Classes that fail: aspect-[3/2], aspect-3/2, aspect-[16/9] Workaround: style={{ aspectRatio: '3/2' }} inline style works correctly Note: This was fixed in v3 (#10464) β appears to be a regression in the v4 Rust scanner where / inside [...] brackets is not handled correctly for this utility Minimal repro: Sources: Original v3 fix (#10464) Discussion #10433
Repository: tailwindlabs/tailwindcss. Description: A utility-first CSS framework for rapid UI development. Stars: 93918, Forks: 5096. Primary language: TypeScript. Languages: TypeScript (81.5%), Rust (16%), CSS (0.7%), JavaScript (0.7%), HTML (0.7%). License: MIT. Homepage: https://tailwindcss.com/ Topics: css, css-framework, functional-css, postcss, responsive, tailwindcss, utility-classes. Latest release: v4.2.1 (1w ago). Open PRs: 33, open issues: 51. Last activity: 23h ago. Community health: 62%. Top contributors: adamwathan, RobinMalfait, depfu[bot], thecrypticace, dependabot-preview[bot], reinink, philipp-spiess, bradlc, dependabot-support, MichaelDeBoey and others.
TypeScript
Last 12 weeks Β· 98 commits
What version of Tailwind CSS are you using? v4.1.18 What build tool (or framework if it abstracts the build tool) are you using? Vite 7.x (Next.js 16.x) What version of Node.js are you using? v22.x What browser are you using? N/A (build output issue) What operating system are you using? macOS Reproduction URL https://play.tailwindcss.com/8zse4OUjaq Describe your issue When defining a custom named spacing value in , the utility outputs instead of the expected . Reproduction CSS: Expected: outputs (as documented and as the fallback intends). Actual: outputs , sourced from . Root cause in source: The utility is defined with theme keys . When resolving : 1. is not defined in the default theme 2. is found via the fallback namespace 3. The () is never reached because the theme lookup succeeded first This means any custom named value that shares a suffix with a static value will shadow it. The fallback is needed for numeric values like β , but named values create unintended collisions. Workaround: Explicitly define in to take priority over the fallback. Note: The theme documentation describes as affecting "spacing and sizing utilities like , " β line-height is not mentioned as affected. This behavior contradicts that documentation.
What version of Tailwind CSS are you using? v4.2.1 What build tool (or framework if it abstracts the build tool) are you using? tailwindcss-windows-x64.exe What version of Node.js are you using? N/A What browser are you using? Edge What operating system are you using? Windows ARM64 in Parallels MacOS M4-Max Reproduction URL N/A Describe your issue** Since there is no logging that I can see, I can't see how to duplicate it. At first, tailwindcss-windows-x64.exe worked flawlessly, but as my project grew, the --watch may fully build the project, but exit shortly later, or it exits several times without building. My workaround has been using terminal in MacOS to a network share of my project. It builds flawlessly, but the --watch doesn't see changes over the network, so I just have to run the command every time I make a change. I would expect that an arm64 build of tailwindcss-windows-arm64.exe would solve the problem.
What version of Tailwind CSS are you using? 3.1.6 What build tool (or framework if it abstracts the build tool) are you using? Vite 3.0.0 (rollup) What version of Node.js are you using? v16.13.0 What browser are you using? Chrome What operating system are you using? macOS Reproduction URL https://stackblitz.com/edit/react-tailwind-qds1vc?file=index.js Describe your issue** While it's common to give `cursor: pointer;cursor: pointercursor: pointer;`, but Tailwind should be correct by default.
Summary This PR updates the contributing guide to use pnpmβs script shorthand for consistency and copy/paste friendliness: β β These commands are equivalent, but the shorthand matches the rest of the repoβs script usage and reduces noise in documentation. Test plan Verified the and scripts exist in the root . Ran Prettier formatting check on the edited file: ```sh pnpm prettier --check .github/CONTRIBUTING.md