TailwindCSS: Source Scanning Gets More Precise

Two open pull requests tighten up how Tailwind's file scanner decides what to include and exclude under the `@source` directive, closing edge cases around concrete files and git-ignored directories. A third, already-merged fix stops the legacy config compat layer from silently corrupting theme values that are strings instead of objects.

Duration: PT2M22S

Episode overview

This episode is a short developer briefing from TailwindCSS.

It explains recent repository work in plain language.

  • Show: TailwindCSS
  • Published: 2026-08-11T13:06:33Z
  • Audio duration: PT2M22S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. It's August 11th, 2026, and today's developer briefing centers on one theme: precision in source scanning.

Two pull requests from the last day both dig into how Tailwind decides which files to scan under an `@source` directive, and both trace back to long-standing bug reports. PR 20406, from Benjamin Canac, fixes a case where pointing `@source` at one specific file inside an auto-detected root accidentally scans that…

The second theme is a data-integrity fix in the legacy config compatibility layer. PR 20399, merged from Ridwan Olanrewaju, found that theme namespace mappings like font-size to text, or box-shadow to shadow, were spreading whatever `theme()` returned directly. When that return value was a plain string instead of an…

What's next: expect continued cleanup around source detection edge cases, since both open PRs reference older linked issues rather than brand-new reports. That suggests a broader pass, not one-off patches.

That's the briefing for August 11th. Build clean.

Nearby episodes from TailwindCSS

  1. Weekly Recap - Scanner Precision and Vite Reliability
  2. Quietly Wrong CSS, Now Fixed
  3. Simplifying the Edges
  4. Scanner Hardening and Faster Rebuilds
  5. Weekly Recap - Scanner Reliability and Platform Reach
  6. A Quiet Fix in the Legacy Config Bridge
  7. Fixing Over-Eager File Scanning
  8. When Edge Cases Quietly Break Scanning