mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
Replaces the custom `packages/config/tailwind-plugins/hit-area.js` (v3-style `plugin()` + `matchUtilities`) with the Tailwind v4 port from bazza.dev/craft/2026/hit-area (registry: https://bazza.dev/r/hit-area, MIT). The new version is pure CSS using `@utility hit-area-*` blocks with `--value(number)` / `--value([*])` and integrates cleanly with v4's CSS-first model — no JS plugin, no `matchUtilities` runtime. Changes: - Add `packages/config/tailwind-utilities/hit-area.css` with the vendored `@utility` blocks for `hit-area`, `hit-area-debug`, `hit-area-*`, `hit-area-t/b/l/r-*`, `hit-area-x-*`, `hit-area-y-*`. - Delete `packages/config/tailwind-plugins/hit-area.js`. - Remove `require('./tailwind-plugins/hit-area')` from `packages/config/tailwind.config.js`. - Import the new CSS from every app CSS entry (studio, docs, www, design-system x2, ui-library, learn, lite-studio). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>