Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

test(vibe-tests): add a scoped enterprise app for setup testing (#5536)

nynexman44641b706d5d2d35
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 19734dcbe3..31b25f0e9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -545,6 +545,26 @@ jobs:
- name: Run theme layer cascade guard
run: node .github/scripts/theme-layer-cascade.js
+ # Guest token boundaries cross portals and the host light/dark cascade. This
+ # requires a production browser render; source and jsdom checks cannot prove
+ # which custom properties paint the portaled surfaces.
+ fixture-contrast:
+ needs: [check-scope]
+ if: needs.check-scope.outputs.docsite_only != 'true'
+ runs-on: 2-core-ubuntu-arm
+ permissions:
+ contents: read
+ steps:
+ - uses: actions/checkout@v7
+
+ - uses: ./.github/actions/setup
+
+ - name: Install Playwright
+ run: npx playwright install chromium
+
+ - name: Verify guest fixture contrast
+ run: pnpm -F @astryxdesign/vibe-tests fixtures:contrast
+
# Stable-package visual regression. Core components get every story in
# every shipped theme that styles them; a changed shipped theme gets its
# relevant matrix. Packages marked `astryx.canaryOnly` (Lab, charts,
diff --git a/internal/vibe-tests/README.md b/internal/vibe-tests/README.md
index 826aaeffd3..b275d5a077 100644
--- a/internal/vibe-tests/README.md
+++ b/internal/vibe-tests/README.md
@@ -156,10 +156,10 @@ internal/vibe-tests/
## Canonical fixture suite
-The apps under `fixtures/` represent a plain Tailwind v4 control and an
-established shadcn-style Tailwind v4 app with controlled dialog, tooltip, and
-menu portals. They are standalone packages with exact dependencies and
-lockfiles, and neither has Astryx installed.
+The three apps under `fixtures/` represent a plain Tailwind v4 control, an
+established shadcn-style Tailwind v4 app, and an original enterprise-style app
+with a marked guest design-system boundary. They are standalone packages with
+exact dependencies and lockfiles; none has Astryx installed.
Treat canonical fixture files as immutable inputs. Setup validates their pinned
recipe and SHA-256 manifest, then copies the listed files into a sandbox without
diff --git a/internal/vibe-tests/fixture-recipes/enterprise-scoped-synthetic.json b/internal/vibe-tests/fixture-recipes/enterprise-scoped-synthetic.json
new file mode 100644
index 0000000000..385462f392
--- /dev/null
+++ b/internal/vibe-tests/fixture-recipes/enterprise-scoped-synthetic.json
@@ -0,0 +1,40 @@
+{
+ "schemaVersion": 1,
+ "fixture": "enterprise-scoped-synthetic",
+ "synthetic": true,
+ "source": "original synthetic fixture",
+ "generator": "hand-authored",
+ "version": "1",
+ "commit": "not-applicable-original-work",
+ "license": "MIT",
+ "commands": [
+ {
+ "command": "pnpm install --lockfile-only --ignore-scripts",
+ "flags": ["--lockfile-only", "--ignore-scripts"]
+ }
+ ],
+ "authoredPatches": [
+ "Created an original generic application with no copied application code or data.",
+ "Added app-controlled light and dark modes with non-shadcn success, warning, error, overlay, accent, and border semantics.",
+ "Separated host table and settings surfaces from a marked guest design-system subtree that reuses generic token names.",
+ "Added a guest-scoped portal dialog and nested portal menu that cross the host boundary without time, UUID, or network input.",
+ "Pinned every dependency, pnpm, and the Node 24 range."
+ ],
+ "refresh": {
+ "command": "pnpm -F @astryxdesign/vibe-tests fixtures:refresh -- enterprise-scoped-synthetic",
+ "notes": "Edit the original fixture directly, regenerate the lockfile when dependencies change, then refresh this manifest."
+ },
+ "manifest": {
+ "algorithm": "sha256",
+ "files": {
+ "index.html": "dc6a838d1c59ef085686780cb2d14afcc76b893906c3d951038858f42d47a601",
+ "package.json": "a0cb3ccf5bca798a72d14b88dc025c0c293ced9987afbfccd5f50dccde7f1488",
+ "pnpm-lock.yaml": "5b50b51c8b1f5045813b3fbdcf9842527e684b34eb7aa1129a7c496b0be3158c",
+ "src/App.tsx": "156fee7215d0ade61a56607461b9df7814649505ae37023137d1631faa754943",
+ "src/index.css": "2766bb7e84f6737cd44f2f16cb224d3d3ff141794327e849cfc21aa27054e9e3",
+ "src/main.tsx": "47cc0b4b1cc9e21351c3a37b160d7f64277f59cd57937659022cdae97608a6a5",
+ "tsconfig.json": "39e5a743eb4be3f35a40bb28a216567a2df28de553728b5e9fb545ace0a2042c",
+ "vite.config.ts": "c5f65f5b80994105ba79afc20590c2e42ca0c67166dfaf250269eb0bab9db3b6"
+ }
+ }
+}
diff --git a/internal/vibe-tests/fixtures/README.md b/internal/vibe-tests/fixtures/README.md
index ac48465035..163623075d 100644
--- a/internal/vibe-tests/fixtures/README.md
+++ b/internal/vibe-tests/fixtures/README.md
@@ -1,17 +1,27 @@
-# Consumer fixture gallery
+# Canonical consumer fixtures
-These deterministic apps model a plain Tailwind v4 control and an established shadcn-style app. The screenshots document their production builds; they are not golden tests.
+These deterministic apps model three common Tailwind v4 integration shapes. The screenshots document their production builds; they are not golden tests.
-| Plain Tailwind control | Established shadcn-style app |
-| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ![Plain Tailwind v4 control in light mode](assets/tailwind-v4-control-light.png) | ![Established shadcn-style Tailwind v4 app in light mode](assets/shadcn-tailwind-v4-established-light.png) |
-| A minimal Tailwind app that catches setup steps that assume an existing semantic theme or change baseline utility and reset behavior. | An app-owned semantic token system that catches token collisions, mode mismatches, and regressions in cards, forms, statuses, tables, and top-layer surfaces. |
+| Plain Tailwind control | Established shadcn-style app | Scoped enterprise-style app |
+| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| ![Plain Tailwind v4 control in light mode](assets/tailwind-v4-control-light.png) | ![Established shadcn-style Tailwind v4 app in light mode](assets/shadcn-tailwind-v4-established-light.png) | ![Scoped enterprise-style app in light mode](assets/enterprise-scoped-synthetic-light.png) |
+| A minimal Tailwind app that catches setup steps that assume an existing semantic theme or change baseline utility and reset behavior. | An app-owned semantic token system that catches token collisions, mode mismatches, and regressions in cards, forms, statuses, tables, and top-layer surfaces. | An explicit color-mode contract with host UI around a guest subtree that catches app-token leakage, boundary failures, and top-layer host-token drift. |
-## Dark and interaction state
+## Dark and interaction states
-| Established shadcn-style app |
-| ------------------------------------------------------------------------------------------------------------------------------------------- |
-| ![Established shadcn-style app in dark mode with its dialog, tooltip, and menu open](assets/shadcn-tailwind-v4-established-dark-dialog.png) |
-| The portal dialog keeps its independently portaled help tooltip and approval-route menu visibly above the backdrop. |
+| Established shadcn-style app | Scoped enterprise-style app |
+| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
+| ![Established shadcn-style app in dark mode with its dialog, tooltip, and menu open](assets/shadcn-tailwind-v4-established-dark-dialog.png) | ![Scoped enterprise-style app in dark mode with its guest dialog and cross-boundary menu open](assets/enterprise-scoped-synthetic-dark-dialog.png) |
+| The portal dialog keeps its independently portaled help tooltip and approval-route menu visibly above the backdrop. | The guest-scoped dialog and menu cross the host boundary while retaining guest tokens and their intended layer order. |
+
+## Refreshing screenshots
+
+Render changed fixture screenshots from production builds at 1280 × 900, then refresh the fixture manifest:
+
+```bash
+pnpm -F @astryxdesign/vibe-tests fixtures:screenshots
+pnpm -F @astryxdesign/vibe-tests fixtures:refresh -- enterprise-scoped-synthetic
+pnpm -F @astryxdesign/vibe-tests fixtures:verify
+```
The gallery is capped at 250 KiB per PNG and 300 KiB total.
diff --git a/internal/vibe-tests/fixtures/assets/enterprise-scoped-synthetic-dark-dialog.png b/internal/vibe-tests/fixtures/assets/enterprise-scoped-synthetic-dark-dialog.png
new file mode 100644
index 0000000000..f2cc301b01
Binary files /dev/null and b/internal/vibe-tests/fixtures/assets/enterprise-scoped-synthetic-dark-dialog.png differ
diff --git a/internal/vibe-tests/fixtures/assets/enterprise-scoped-synthetic-light.png b/internal/vibe-tests/fixtures/assets/enterprise-scoped-synthetic-light.png
new file mode 100644
index 0000000000..083b48f61d
Binary files /dev/null and b/internal/vibe-tests/fixtures/assets/enterprise-scoped-synthetic-light.png differ
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/index.html b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/index.html
new file mode 100644
index 0000000000..54afd28f30
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/index.html
@@ -0,0 +1,14 @@
+<!-- Copyright (c) Meta Platforms, Inc. and affiliates. -->
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Enterprise scoped synthetic fixture</title>
+ </head>
+ <body>
+ <div id="root"></div>
+ <script type="module" src="/src/main.tsx"></script>
+ </body>
+</html>
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/package.json b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/package.json
new file mode 100644
index 0000000000..de6d438765
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/package.json
@@ -0,0 +1,31 @@
+{
+ "name": "enterprise-scoped-synthetic-fixture",
+ "version": "0.0.0",
+ "private": true,
+ "type": "module",
+ "license": "MIT",
+ "packageManager": "[email protected]",
+ "engines": {
+ "node": ">=24 <25"
+ },
+ "scripts": {
+ "dev": "vite",
+ "typecheck": "tsc --noEmit",
+ "build": "tsc --noEmit && vite build",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "react": "19.2.8",
+ "react-dom": "19.2.8",
+ "tailwindcss": "4.3.3"
+ },
+ "devDependencies": {
+ "@tailwindcss/vite": "4.3.3",
+ "@types/node": "24.13.3",
+ "@types/react": "19.2.18",
+ "@types/react-dom": "19.2.5",
+ "@vitejs/plugin-react": "6.1.0",
+ "typescript": "6.0.2",
+ "vite": "8.2.2"
+ }
+}
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/pnpm-lock.yaml b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/pnpm-lock.yaml
new file mode 100644
index 0000000000..1d2abf5123
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/pnpm-lock.yaml
@@ -0,0 +1,1171 @@
+lockfileVersion: '9.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+importers:
+ .:
+ dependencies:
+ react:
+ specifier: 19.2.8
+ version: 19.2.8
+ react-dom:
+ specifier: 19.2.8
+ version: 19.2.8([email protected])
+ tailwindcss:
+ specifier: 4.3.3
+ version: 4.3.3
+ devDependencies:
+ '@tailwindcss/vite':
+ specifier: 4.3.3
+ '@types/node':
+ specifier: 24.13.3
+ version: 24.13.3
+ '@types/react':
+ specifier: 19.2.18
+ version: 19.2.18
+ '@types/react-dom':
+ specifier: 19.2.5
+ version: 19.2.5(@types/[email protected])
+ '@vitejs/plugin-react':
+ specifier: 6.1.0
+ typescript:
+ specifier: 6.0.2
+ version: 6.0.2
+ vite:
+ specifier: 8.2.2
+ version: 8.2.2(@types/[email protected])([email protected])
+
+packages:
+ '@jridgewell/[email protected]':
+ resolution:
+ {
+ integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==,
+ }
+
+ '@jridgewell/[email protected]':
+ resolution:
+ {
+ integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==,
+ }
+
+ '@jridgewell/[email protected]':
+ resolution:
+ {
+ integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==,
+ }
+ engines: {node: '>=6.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution:
+ {
+ integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==,
+ }
+
+ '@jridgewell/[email protected]':
+ resolution:
+ {
+ integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==,
+ }
+
+ '@oxc-project/[email protected]':
+ resolution:
+ {
+ integrity: sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==,
+ }
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [android]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [android]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [darwin]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [win32]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [win32]
+
+ '@rolldown/[email protected]':
+ resolution:
+ {
+ integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==,
+ }
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==,
+ }
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [android]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==,
+ }
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==,
+ }
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==,
+ }
+ engines: {node: '>= 20'}
+
+ '@tailwindcss/[email protected]':
+ resolution:
+ {
+ integrity: sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==,
+ }
+ peerDependencies:
+ vite: ^5.2.0 || ^6 || ^7 || ^8
+
+ '@types/[email protected]':
+ resolution:
+ {
+ integrity: sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==,
+ }
+
+ '@types/[email protected]':
+ resolution:
+ {
+ integrity: sha512-fMPwH9v7r/pp43yUd2/Mbiex5KouJwwR3dzHkhLREUC6764VyDsqxhAxv6OFEYR1RhjOyD1naqba8ECDBe7ZQg==,
+ }
+ peerDependencies:
+ '@types/react': ^19.2.0
+
+ '@types/[email protected]':
+ resolution:
+ {
+ integrity: sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==,
+ }
+
+ '@vitejs/[email protected]':
+ resolution:
+ {
+ integrity: sha512-qd2BzUBehkov86WFhg0JkEFEYyCLG9uPCe6qWTY/kRlss9OvJrOF2UbIWT7p+8IzZHkEu0DNGHc4HSv+JdDLsw==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ peerDependencies:
+ '@rolldown/plugin-babel': ^0.1.7 || ^0.2.0
+ babel-plugin-react-compiler: ^1.0.0
+ oxc-transform-react: ^0.145.0
+ vite: ^8.0.0
+ peerDependenciesMeta:
+ '@rolldown/plugin-babel':
+ optional: true
+ babel-plugin-react-compiler:
+ optional: true
+ oxc-transform-react:
+ optional: true
+
+ resolution:
+ {
+ integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==,
+ }
+ engines: {node: '>=8'}
+
+ resolution:
+ {
+ integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==,
+ }
+ engines: {node: '>=10.13.0'}
+
+ resolution:
+ {
+ integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==,
+ }
+ engines: {node: '>=12.0.0'}
+ peerDependencies:
+ picomatch: ^3 || ^4
+ peerDependenciesMeta:
+ picomatch:
+ optional: true
+
+ resolution:
+ {
+ integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==,
+ }
+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+ os: [darwin]
+
+ resolution:
+ {
+ integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==,
+ }
+ hasBin: true
+
+ resolution:
+ {
+ integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution:
+ {
+ integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution:
+ {
+ integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution:
+ {
+ integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution:
+ {
+ integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution:
+ {
+ integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution:
+ {
+ integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution:
+ {
+ integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution:
+ {
+ integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution:
+ {
+ integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution:
+ {
+ integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ resolution:
+ {
+ integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ resolution:
+ {
+ integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ resolution:
+ {
+ integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ resolution:
+ {
+ integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ resolution:
+ {
+ integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ resolution:
+ {
+ integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ resolution:
+ {
+ integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ resolution:
+ {
+ integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution:
+ {
+ integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution:
+ {
+ integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution:
+ {
+ integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==,
+ }
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution:
+ {
+ integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==,
+ }
+ engines: {node: '>= 12.0.0'}
+
+ resolution:
+ {
+ integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==,
+ }
+ engines: {node: '>= 12.0.0'}
+
+ resolution:
+ {
+ integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==,
+ }
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
+ resolution:
+ {
+ integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==,
+ }
+ engines: {node: '>=12'}
+
+ resolution:
+ {
+ integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==,
+ }
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution:
+ {
+ integrity: sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ==,
+ }
+ peerDependencies:
+ react: ^19.2.8
+
+ resolution:
+ {
+ integrity: sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==,
+ }
+ engines: {node: '>=0.10.0'}
+
+ resolution:
+ {
+ integrity: sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+
+ resolution:
+ {
+ integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==,
+ }
+ engines: {node: '>=0.10.0'}
+
+ resolution:
+ {
+ integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==,
+ }
+ engines: {node: '>=6'}
+
+ resolution:
+ {
+ integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==,
+ }
+ engines: {node: '>=12.0.0'}
+
+ resolution:
+ {
+ integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==,
+ }
+ engines: {node: '>=14.17'}
+ hasBin: true
+
+ resolution:
+ {
+ integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==,
+ }
+
+ resolution:
+ {
+ integrity: sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==,
+ }
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+ peerDependencies:
+ '@types/node': ^20.19.0 || >=22.12.0
+ '@vitejs/devtools': ^0.4.0 || ^0.5.0
+ esbuild: ^0.27.0 || ^0.28.0
+ jiti: '>=1.21.0'
+ less: ^4.0.0
+ sass: ^1.70.0
+ sass-embedded: ^1.70.0
+ stylus: '>=0.54.8'
+ sugarss: ^5.0.0
+ terser: ^5.16.0
+ tsx: ^4.8.1
+ yaml: ^2.4.2
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+ '@vitejs/devtools':
+ optional: true
+ esbuild:
+ optional: true
+ jiti:
+ optional: true
+ less:
+ optional: true
+ sass:
+ optional: true
+ sass-embedded:
+ optional: true
+ stylus:
+ optional: true
+ sugarss:
+ optional: true
+ terser:
+ optional: true
+ tsx:
+ optional: true
+ yaml:
+ optional: true
+
+snapshots:
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.5
+
+ '@oxc-project/[email protected]': {}
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]': {}
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.24.5
+ jiti: 2.7.0
+ lightningcss: 1.32.0
+ magic-string: 0.30.21
+ source-map-js: 1.2.1
+ tailwindcss: 4.3.3
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-x64': 4.3.3
+ '@tailwindcss/oxide-freebsd-x64': 4.3.3
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-musl': 4.3.3
+ '@tailwindcss/oxide-linux-x64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-x64-musl': 4.3.3
+ '@tailwindcss/oxide-wasm32-wasi': 4.3.3
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3
+ '@tailwindcss/oxide-win32-x64-msvc': 4.3.3
+
+ dependencies:
+ '@tailwindcss/node': 4.3.3
+ '@tailwindcss/oxide': 4.3.3
+ tailwindcss: 4.3.3
+ vite: 8.2.2(@types/[email protected])([email protected])
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 7.18.2
+
+ dependencies:
+ '@types/react': 19.2.18
+
+ '@types/[email protected]':
+ dependencies:
+ csstype: 3.2.3
+
+ dependencies:
+ '@rolldown/pluginutils': 1.0.1
+ vite: 8.2.2(@types/[email protected])([email protected])
+
+
+
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.3.3
+
+ optionalDependencies:
+ picomatch: 4.0.7
+
+ optional: true
+
+
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.32.0
+ lightningcss-darwin-arm64: 1.32.0
+ lightningcss-darwin-x64: 1.32.0
+ lightningcss-freebsd-x64: 1.32.0
+ lightningcss-linux-arm-gnueabihf: 1.32.0
+ lightningcss-linux-arm64-gnu: 1.32.0
+ lightningcss-linux-arm64-musl: 1.32.0
+ lightningcss-linux-x64-gnu: 1.32.0
+ lightningcss-linux-x64-musl: 1.32.0
+ lightningcss-win32-arm64-msvc: 1.32.0
+ lightningcss-win32-x64-msvc: 1.32.0
+
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.33.0
+ lightningcss-darwin-arm64: 1.33.0
+ lightningcss-darwin-x64: 1.33.0
+ lightningcss-freebsd-x64: 1.33.0
+ lightningcss-linux-arm-gnueabihf: 1.33.0
+ lightningcss-linux-arm64-gnu: 1.33.0
+ lightningcss-linux-arm64-musl: 1.33.0
+ lightningcss-linux-x64-gnu: 1.33.0
+ lightningcss-linux-x64-musl: 1.33.0
+ lightningcss-win32-arm64-msvc: 1.33.0
+ lightningcss-win32-x64-msvc: 1.33.0
+
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+
+
+
+
+ dependencies:
+ nanoid: 3.3.18
+ picocolors: 1.1.1
+ source-map-js: 1.2.1
+
+ dependencies:
+ react: 19.2.8
+ scheduler: 0.27.0
+
+
+ dependencies:
+ '@oxc-project/types': 0.146.0
+ '@rolldown/pluginutils': 1.0.1
+ optionalDependencies:
+ '@rolldown/binding-android-arm-eabi': 1.2.5
+ '@rolldown/binding-android-arm64': 1.2.5
+ '@rolldown/binding-darwin-arm64': 1.2.5
+ '@rolldown/binding-darwin-x64': 1.2.5
+ '@rolldown/binding-freebsd-x64': 1.2.5
+ '@rolldown/binding-linux-arm-gnueabihf': 1.2.5
+ '@rolldown/binding-linux-arm64-gnu': 1.2.5
+ '@rolldown/binding-linux-arm64-musl': 1.2.5
+ '@rolldown/binding-linux-ppc64-gnu': 1.2.5
+ '@rolldown/binding-linux-s390x-gnu': 1.2.5
+ '@rolldown/binding-linux-x64-gnu': 1.2.5
+ '@rolldown/binding-linux-x64-musl': 1.2.5
+ '@rolldown/binding-openharmony-arm64': 1.2.5
+ '@rolldown/binding-win32-arm64-msvc': 1.2.5
+ '@rolldown/binding-win32-x64-msvc': 1.2.5
+
+
+
+
+
+ dependencies:
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.7
+
+
+
+ dependencies:
+ lightningcss: 1.33.0
+ picomatch: 4.0.7
+ postcss: 8.5.26
+ rolldown: 1.2.5
+ tinyglobby: 0.2.17
+ optionalDependencies:
+ '@types/node': 24.13.3
+ fsevents: 2.3.3
+ jiti: 2.7.0
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/App.tsx b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/App.tsx
new file mode 100644
index 0000000000..de410b98d4
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/App.tsx
@@ -0,0 +1,339 @@
+// Copyright (c) Meta Platforms, Inc. and affiliates.
+
+import {useState} from 'react';
+import {createPortal} from 'react-dom';
+
+type Mode = 'light' | 'dark';
+type Health = 'Healthy' | 'Attention' | 'Failed';
+
+const services: Array<{
+ name: string;
+ owner: string;
+ region: string;
+ health: Health;
+ latency: string;
+}> = [
+ {
+ name: 'Aster',
+ owner: 'Avery',
+ region: 'North',
+ health: 'Healthy',
+ latency: '42 ms',
+ },
+ {
+ name: 'Briar',
+ owner: 'Morgan',
+ region: 'West',
+ health: 'Attention',
+ latency: '118 ms',
+ },
+ {
+ name: 'Cedar',
+ owner: 'Riley',
+ region: 'East',
+ health: 'Failed',
+ latency: '—',
+ },
+ {
+ name: 'Dahlia',
+ owner: 'Casey',
+ region: 'South',
+ health: 'Healthy',
+ latency: '57 ms',
+ },
+];
+
+const healthClasses: Record<Health, string> = {
+ Healthy: 'bg-success/15 text-success',
+ Attention: 'bg-warning/15 text-warning',
+ Failed: 'bg-error/15 text-error',
+};
+
+export default function App() {
+ const [mode, setMode] = useState<Mode>('light');
+ const [dialogOpen, setDialogOpen] = useState(false);
+ const [popoverOpen, setPopoverOpen] = useState(false);
+
+ const closeDialog = () => {
+ setDialogOpen(false);
+ setPopoverOpen(false);
+ };
+
+ return (
+ <div
+ className="fixture-shell min-h-screen bg-background text-foreground"
+ data-mode={mode}
+ data-vibe-probe="host-shell">
+ <header className="border-b border-border bg-panel">
+ <div className="mx-auto flex max-w-6xl flex-wrap items-center justify-between gap-4 px-6 py-4">
+ <div>
+ <p className="text-xs font-semibold uppercase tracking-[0.16em] text-secondary-ink">
+ Portfolio console
+ </p>
+ <h1 className="text-xl font-semibold" data-vibe-probe="page-title">
+ Service controls
+ </h1>
+ </div>
+ <div className="flex items-center gap-3">
+ <span className="rounded-full bg-success/15 px-2.5 py-1 text-xs font-semibold text-success">
+ 2 healthy
+ </span>
+ <button
+ className="rounded-md border border-border bg-panel px-3 py-2 text-sm font-medium"
+ data-vibe-probe="mode-control"
+ onClick={() =>
+ setMode(current => (current === 'light' ? 'dark' : 'light'))
+ }
+ type="button">
+ {mode === 'light' ? 'Dark' : 'Light'} mode
+ </button>
+ </div>
+ </div>
+ </header>
+
+ <main className="mx-auto grid max-w-6xl gap-6 px-6 py-6 xl:grid-cols-[minmax(0,2fr)_22rem]">
+ <section aria-labelledby="service-heading" className="space-y-4">
+ <div className="flex flex-wrap items-end justify-between gap-3">
+ <div>
+ <h2 id="service-heading" className="text-lg font-semibold">
+ Service inventory
+ </h2>
+ <p className="text-sm text-secondary-ink">
+ Fixed operational data for dense-layout checks.
+ </p>
+ </div>
+ <div className="flex gap-2">
+ <label className="grid gap-1 text-xs font-medium text-secondary-ink">
+ Region
+ <select className="rounded-md border border-border bg-panel px-3 py-2 text-sm text-foreground">
+ <option>All regions</option>
+ <option>North</option>
+ <option>West</option>
+ </select>
+ </label>
+ </div>
+ </div>
+
+ <div className="overflow-hidden rounded-lg border border-border bg-panel">
+ <table className="w-full border-collapse text-left text-sm">
+ <thead className="bg-subtle text-xs uppercase tracking-wide text-secondary-ink">
+ <tr>
+ <th
+ className="px-4 py-3 font-semibold"
+ data-vibe-probe="table-header">
+ Service
+ </th>
+ <th className="px-4 py-3 font-semibold">Owner</th>
+ <th className="px-4 py-3 font-semibold">Region</th>
+ <th className="px-4 py-3 font-semibold">Health</th>
+ <th className="px-4 py-3 text-right font-semibold">
+ Latency
+ </th>
+ </tr>
+ </thead>
+ <tbody className="divide-y divide-border">
+ {services.map(service => (
+ <tr key={service.name}>
+ <td className="px-4 py-3 font-semibold">{service.name}</td>
+ <td className="px-4 py-3 text-secondary-ink">
+ {service.owner}
+ </td>
+ <td className="px-4 py-3">{service.region}</td>
+ <td className="px-4 py-3">
+ <span
+ className={`inline-flex rounded px-2 py-1 text-xs font-semibold ${healthClasses[service.health]}`}
+ data-vibe-probe={
+ service.name === 'Aster' ? 'status' : undefined
+ }>
+ {service.health}
+ </span>
+ </td>
+ <td className="px-4 py-3 text-right font-mono text-xs">
+ {service.latency}
+ </td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+
+ <section
+ aria-labelledby="settings-heading"
+ className="rounded-lg border border-border bg-panel p-5">
+ <div className="mb-4">
+ <h2 id="settings-heading" className="font-semibold">
+ Alert settings
+ </h2>
+ <p className="text-sm text-secondary-ink">
+ Host controls remain outside the guest subtree.
+ </p>
+ </div>
+ <div className="grid gap-4 md:grid-cols-3">
+ <label className="grid gap-1 text-sm font-medium">
+ Escalation owner
+ <input
+ className="rounded-md border border-border bg-background px-3 py-2"
+ data-vibe-probe="settings-control"
+ defaultValue="Avery"
+ />
+ </label>
+ <label className="grid gap-1 text-sm font-medium">
+ Warning threshold
+ <input
+ className="rounded-md border border-border bg-background px-3 py-2"
+ defaultValue="100 ms"
+ />
+ </label>
+ <label className="grid gap-1 text-sm font-medium">
+ Error threshold
+ <input
+ className="rounded-md border border-border bg-background px-3 py-2"
+ defaultValue="250 ms"
+ />
+ </label>
+ </div>
+ </section>
+ </section>
+
+ {/* Guest design-system subtree: generic token names must stay bounded here. */}
+ <aside
+ aria-labelledby="guest-heading"
+ className="h-fit rounded-lg border border-border bg-panel p-5 shadow-sm"
+ data-guest-design-system
+ data-vibe-probe="guest-boundary">
+ <p className="text-xs font-semibold uppercase tracking-[0.16em]">
+ Guest subtree
+ </p>
+ <h2 id="guest-heading" className="mt-1 text-lg font-semibold">
+ Integration preview
+ </h2>
+ <p className="mt-2 text-sm opacity-75">
+ This subtree intentionally redefines accent, border, panel,
+ foreground, subtle, and error.
+ </p>
+ <div
+ className="mt-4 rounded-md border border-border bg-subtle p-3 text-sm"
+ data-vibe-probe="guest-callout">
+ <strong
+ className="block text-accent"
+ data-vibe-probe="guest-callout-heading">
+ Scoped notice
+ </strong>
+ Host rows and settings should not inherit this palette.
+ </div>
+ <button
+ className="mt-4 w-full rounded-md bg-accent px-3 py-2 text-sm font-semibold text-white"
+ data-vibe-probe="dialog-trigger"
+ onClick={() => setDialogOpen(true)}
+ type="button">
+ Guest actions
+ </button>
+ </aside>
+ </main>
+
+ {dialogOpen
+ ? createPortal(
+ <div className="fixture-shell" data-mode={mode}>
+ <div
+ className="fixed inset-0 z-[40] bg-overlay"
+ data-vibe-probe="dialog-backdrop"
+ onClick={closeDialog}
+ />
+ <section
+ aria-labelledby="service-dialog-title"
+ aria-modal="true"
+ className="fixed left-1/2 top-1/2 z-[50] w-[min(30rem,calc(100%-2rem))] -translate-x-1/2 -translate-y-1/2 rounded-lg border border-border bg-panel p-6 text-foreground shadow-2xl"
+ data-guest-design-system
+ data-vibe-probe="dialog-surface"
+ onKeyDown={event => {
+ if (event.key === 'Escape') closeDialog();
+ }}
+ role="dialog"
+ tabIndex={-1}>
+ <div>
+ <p className="text-xs font-semibold uppercase tracking-[0.16em] opacity-75">
+ Guest action
+ </p>
+ <h2
+ className="text-lg font-semibold"
+ id="service-dialog-title">
+ Service actions
+ </h2>
+ </div>
+ <p
+ className="mt-3 text-sm opacity-75"
+ data-vibe-probe="dialog-body">
+ This guest dialog is portaled across the host boundary.
+ </p>
+ <div
+ className="mt-4 rounded-md border border-border bg-subtle p-3 text-sm"
+ data-vibe-probe="dialog-callout">
+ Restarting a service pauses its queued work.
+ </div>
+ <div className="mt-4 flex items-center justify-between gap-3 rounded-md border border-border bg-panel p-3">
+ <div>
+ <p className="text-sm font-semibold">Target service</p>
+ <p className="text-xs opacity-75">Aster · North</p>
+ </div>
+ <button
+ aria-controls="guest-service-menu"
+ aria-expanded={popoverOpen}
+ aria-haspopup="menu"
+ className="rounded-md border border-border bg-panel px-3 py-2 text-sm font-medium"
+ data-vibe-probe="popover-trigger"
+ onClick={() => setPopoverOpen(value => !value)}
+ type="button">
+ Select service
+ </button>
+ </div>
+ <div className="mt-5 flex justify-end gap-2">
+ <button
+ className="rounded-md border border-border px-3 py-2 text-sm font-medium"
+ onClick={closeDialog}
+ type="button">
+ Cancel
+ </button>
+ <button
+ className="rounded-md bg-error px-3 py-2 text-sm font-semibold text-white"
+ data-vibe-probe="destructive-action"
+ type="button">
+ Restart service
+ </button>
+ </div>
+ </section>
+
+ {popoverOpen
+ ? createPortal(
+ <div
+ aria-label="Guest service options"
+ className="fixture-shell fixed left-[calc(50%+1.5rem)] top-[calc(50%+2rem)] z-[70] w-52 rounded-md border border-border bg-panel p-1 text-foreground shadow-2xl"
+ data-guest-design-system
+ data-mode={mode}
+ data-vibe-probe="popover-surface"
+ id="guest-service-menu"
+ role="menu">
+ {['Aster', 'Briar', 'Cedar'].map(service => (
+ <button
+ className="block w-full rounded px-3 py-2 text-left text-sm hover:bg-subtle"
+ data-vibe-probe={
+ service === 'Aster'
+ ? 'popover-menu-item'
+ : undefined
+ }
+ key={service}
+ role="menuitem"
+ type="button">
+ {service}
+ </button>
+ ))}
+ </div>,
+ document.body,
+ )
+ : null}
+ </div>,
+ document.body,
+ )
+ : null}
+ </div>
+ );
+}
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/index.css b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/index.css
new file mode 100644
index 0000000000..3b616b4f61
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/index.css
@@ -0,0 +1,75 @@
+/* Copyright (c) Meta Platforms, Inc. and affiliates. */
+
+@import 'tailwindcss';
+
+@theme inline {
+ --color-background: var(--background);
+ --color-foreground: var(--foreground);
+ --color-panel: var(--panel);
+ --color-subtle: var(--subtle);
+ --color-secondary-ink: var(--secondary-ink);
+ --color-success: var(--success);
+ --color-warning: var(--warning);
+ --color-error: var(--error);
+ --color-overlay: var(--overlay);
+ --color-accent: var(--accent);
+ --color-border: var(--border);
+}
+
+:where(.fixture-shell[data-mode='light']) {
+ color-scheme: light;
+ --background: #f4f6f9;
+ --foreground: #172033;
+ --panel: #ffffff;
+ --subtle: #e9edf4;
+ --secondary-ink: #5b6578;
+ --success: #147a4b;
+ --warning: #9a5a00;
+ --error: #b42318;
+ --overlay: rgb(23 32 51 / 62%);
+ --accent: #2457d6;
+ --border: #c9d1df;
+}
+
+:where(.fixture-shell[data-mode='dark']) {
+ color-scheme: dark;
+ --background: #111726;
+ --foreground: #f2f5fb;
+ --panel: #182134;
+ --subtle: #222d43;
+ --secondary-ink: #aeb9cb;
+ --success: #5dd6a0;
+ --warning: #f0bd64;
+ --error: #ff8f87;
+ --overlay: rgb(4 8 16 / 78%);
+ --accent: #8dadff;
+ --border: #34425b;
+}
+
+/* The guest boundary deliberately reuses generic token names. */
+[data-guest-design-system] {
+ --accent: #7c3aed;
+ --border: #c4b5fd;
+ --panel: #f5f3ff;
+ --foreground: #2e1065;
+ --subtle: #ede9fe;
+ --error: #b42318;
+ color: var(--foreground);
+}
+
+body {
+ min-width: 320px;
+ min-height: 100vh;
+ margin: 0;
+ font-family: Inter, ui-sans-serif, system-ui, sans-serif;
+}
+
+button,
+input,
+select {
+ font: inherit;
+}
+
+::backdrop {
+ background: var(--overlay);
+}
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/main.tsx b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/main.tsx
new file mode 100644
index 0000000000..ad96066634
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/src/main.tsx
@@ -0,0 +1,12 @@
+// Copyright (c) Meta Platforms, Inc. and affiliates.
+
+import {StrictMode} from 'react';
+import {createRoot} from 'react-dom/client';
+import App from './App.tsx';
+import './index.css';
+
+createRoot(document.getElementById('root')!).render(
+ <StrictMode>
+ <App />
+ </StrictMode>,
+);
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/tsconfig.json b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/tsconfig.json
new file mode 100644
index 0000000000..3bae4d1ecf
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "target": "ES2023",
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "moduleDetection": "force",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx",
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "skipLibCheck": true,
+ "types": ["vite/client", "node"]
+ },
+ "include": ["src", "vite.config.ts"]
+}
diff --git a/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/vite.config.ts b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/vite.config.ts
new file mode 100644
index 0000000000..2ef69d4156
--- /dev/null
+++ b/internal/vibe-tests/fixtures/enterprise-scoped-synthetic/vite.config.ts
@@ -0,0 +1,9 @@
+// Copyright (c) Meta Platforms, Inc. and affiliates.
+
+import tailwindcss from '@tailwindcss/vite';
+import react from '@vitejs/plugin-react';
+import {defineConfig} from 'vite';
+
+export default defineConfig({
+ plugins: [react(), tailwindcss()],
+});
diff --git a/internal/vibe-tests/package.json b/internal/vibe-tests/package.json
index 25e601bde0..22139c8f29 100644
--- a/internal/vibe-tests/package.json
+++ b/internal/vibe-tests/package.json
@@ -32,7 +32,9 @@
"fixtures:verify": "node scripts/fixture-suite.mjs verify",
"fixtures:prepare": "node scripts/fixture-suite.mjs prepare",
"fixtures:refresh": "node scripts/fixture-suite.mjs refresh",
- "fixtures:build": "node scripts/fixture-suite.mjs build"
+ "fixtures:build": "node scripts/fixture-suite.mjs build",
+ "fixtures:contrast": "node scripts/fixture-browser.mjs contrast",
+ "fixtures:screenshots": "node scripts/fixture-browser.mjs screenshots"
},
"dependencies": {
"@astryxdesign/cli": "*",
diff --git a/internal/vibe-tests/scripts/fixture-browser.mjs b/internal/vibe-tests/scripts/fixture-browser.mjs
new file mode 100644
index 0000000000..78bce49116
--- /dev/null
+++ b/internal/vibe-tests/scripts/fixture-browser.mjs
@@ -0,0 +1,252 @@
+// Copyright (c) Meta Platforms, Inc. and affiliates.
+
+import fs from 'node:fs';
+import os from 'node:os';
+import path from 'node:path';
+import {spawnSync} from 'node:child_process';
+import {chromium} from 'playwright';
+import {preview} from 'vite';
+import {FIXTURE_ASSETS_ROOT, copyFixture} from '../src/fixture-suite.mjs';
+
+const FIXTURE_ID = 'enterprise-scoped-synthetic';
+const VIEWPORT = {width: 1280, height: 900};
+const MINIMUM_CONTRAST = 4.5;
+const GUEST_TOKENS = {
+ '--accent': '#7c3aed',
+ '--border': '#c4b5fd',
+ '--error': '#b42318',
+ '--foreground': '#2e1065',
+ '--panel': '#f5f3ff',
+ '--subtle': '#ede9fe',
+};
+const CONTRAST_PROBES = [
+ ['guest callout body', 'guest-callout'],
+ ['guest callout heading', 'guest-callout-heading'],
+ ['dialog body', 'dialog-body'],
+ ['dialog callout', 'dialog-callout'],
+ ['menu item', 'popover-menu-item'],
+ ['destructive action', 'destructive-action'],
+];
+
+function run(command, args, cwd) {
+ const result = spawnSync(command, args, {cwd, encoding: 'utf8'});
+ if (result.status !== 0) {
+ throw new Error(
+ `${command} ${args.join(' ')} failed in ${cwd}\n${result.stdout}${result.stderr}`,
+ );
+ }
+}
+
+async function openFixture(page, url, mode) {
+ await page.goto(url, {waitUntil: 'networkidle'});
+ if (mode === 'dark') {
+ await page.locator('[data-vibe-probe="mode-control"]').click();
+ }
+ await page.locator('[data-vibe-probe="dialog-trigger"]').click();
+ await page.locator('[data-vibe-probe="popover-trigger"]').click();
+ await page.mouse.move(0, 0);
+}
+
+async function renderedContrast(page, probe) {
+ return page.locator(`[data-vibe-probe="${probe}"]`).evaluate(element => {
+ function color(value) {
+ const components = value.match(/[\d.]+/g)?.map(Number) ?? [];
+ if (components.length < 3)
+ throw new Error(`cannot parse color: ${value}`);
+ return {
+ r: components[0],
+ g: components[1],
+ b: components[2],
+ a: components[3] ?? 1,
+ };
+ }
+
+ function blend(foreground, background, alpha) {
+ return {
+ r: Math.round(foreground.r * alpha + background.r * (1 - alpha)),
+ g: Math.round(foreground.g * alpha + background.g * (1 - alpha)),
+ b: Math.round(foreground.b * alpha + background.b * (1 - alpha)),
+ };
+ }
+
+ function luminance(value) {
+ const channels = [value.r, value.g, value.b].map(channel => {
+ const normalized = channel / 255;
+ return normalized <= 0.04045
+ ? normalized / 12.92
+ : ((normalized + 0.055) / 1.055) ** 2.4;
+ });
+ return channels[0] * 0.2126 + channels[1] * 0.7152 + channels[2] * 0.0722;
+ }
+
+ const foreground = color(getComputedStyle(element).color);
+ let backgroundNode = element;
+ let background = color(getComputedStyle(backgroundNode).backgroundColor);
+ while (background.a === 0 && backgroundNode.parentElement) {
+ backgroundNode = backgroundNode.parentElement;
+ background = color(getComputedStyle(backgroundNode).backgroundColor);
+ }
+ if (background.a < 1) {
+ background = blend(background, {r: 255, g: 255, b: 255}, background.a);
+ }
+
+ let opacity = foreground.a;
+ for (
+ let node = element;
+ node && node !== backgroundNode.parentElement;
+ node = node.parentElement
+ ) {
+ opacity *= Number(getComputedStyle(node).opacity);
+ }
+ const paintedForeground = blend(foreground, background, opacity);
+ const foregroundLuminance = luminance(paintedForeground);
+ const backgroundLuminance = luminance(background);
+ const ratio =
+ (Math.max(foregroundLuminance, backgroundLuminance) + 0.05) /
+ (Math.min(foregroundLuminance, backgroundLuminance) + 0.05);
+
+ return {
+ background: getComputedStyle(backgroundNode).backgroundColor,
+ foreground: getComputedStyle(element).color,
+ ratio,
+ };
+ });
+}
+
+async function tokenValues(page, probe) {
+ return page
+ .locator(`[data-vibe-probe="${probe}"]`)
+ .evaluate((element, names) => {
+ const style = getComputedStyle(element);
+ return Object.fromEntries(
+ names.map(name => [name, style.getPropertyValue(name).trim()]),
+ );
+ }, Object.keys(GUEST_TOKENS));
+}
+
+async function verifyContrast(browser, url) {
+ const failures = [];
+ for (const mode of ['light', 'dark']) {
+ const context = await browser.newContext({
+ colorScheme: mode,
+ deviceScaleFactor: 1,
+ reducedMotion: 'reduce',
+ viewport: VIEWPORT,
+ });
+ const page = await context.newPage();
+ await openFixture(page, url, mode);
+
+ for (const [name, probe] of CONTRAST_PROBES) {
+ const result = await renderedContrast(page, probe);
+ console.log(
+ `${mode} ${name}: ${result.ratio.toFixed(2)}:1 (${result.foreground} on ${result.background})`,
+ );
+ if (result.ratio < MINIMUM_CONTRAST) {
+ failures.push(
+ `${mode} ${name} contrast ${result.ratio.toFixed(2)}:1 is below ${MINIMUM_CONTRAST}:1`,
+ );
+ }
+ }
+
+ await page.locator('[data-vibe-probe="popover-menu-item"]').hover();
+ const hover = await renderedContrast(page, 'popover-menu-item');
+ console.log(
+ `${mode} menu item hover: ${hover.ratio.toFixed(2)}:1 (${hover.foreground} on ${hover.background})`,
+ );
+ if (hover.ratio < MINIMUM_CONTRAST) {
+ failures.push(
+ `${mode} menu item hover contrast ${hover.ratio.toFixed(2)}:1 is below ${MINIMUM_CONTRAST}:1`,
+ );
+ }
+
+ for (const boundary of [
+ 'guest-boundary',
+ 'dialog-surface',
+ 'popover-surface',
+ ]) {
+ const actual = await tokenValues(page, boundary);
+ for (const [token, expected] of Object.entries(GUEST_TOKENS)) {
+ if (actual[token] !== expected) {
+ failures.push(
+ `${mode} ${boundary} resolves ${token} to ${actual[token] || '<unset>'}, expected ${expected}`,
+ );
+ }
+ }
+ }
+ await context.close();
+ }
+
+ if (failures.length > 0) throw new Error(failures.join('\n'));
+}
+
+async function captureScreenshots(browser, url) {
+ const context = await browser.newContext({
+ colorScheme: 'light',
+ deviceScaleFactor: 1,
+ reducedMotion: 'reduce',
+ viewport: VIEWPORT,
+ });
+ const page = await context.newPage();
+ await page.goto(url, {waitUntil: 'networkidle'});
+ await page.screenshot({
+ path: path.join(
+ FIXTURE_ASSETS_ROOT,
+ 'enterprise-scoped-synthetic-light.png',
+ ),
+ });
+ await page.locator('[data-vibe-probe="mode-control"]').click();
+ await page.locator('[data-vibe-probe="dialog-trigger"]').click();
+ await page.locator('[data-vibe-probe="popover-trigger"]').click();
+ await page.mouse.move(0, 0);
+ await page.screenshot({
+ path: path.join(
+ FIXTURE_ASSETS_ROOT,
+ 'enterprise-scoped-synthetic-dark-dialog.png',
+ ),
+ });
+ await context.close();
+}
+
+async function main() {
+ const command = process.argv.slice(2).find(argument => argument !== '--');
+ if (command !== 'contrast' && command !== 'screenshots') {
+ throw new Error('usage: fixture-browser.mjs <contrast|screenshots>');
+ }
+
+ const sandboxParent = fs.mkdtempSync(
+ path.join(os.tmpdir(), 'astryx-fixture-browser-'),
+ );
+ const sandbox = path.join(sandboxParent, FIXTURE_ID);
+ let server;
+ let browser;
+ try {
+ copyFixture(FIXTURE_ID, sandbox);
+ run('pnpm', ['install', '--frozen-lockfile', '--ignore-scripts'], sandbox);
+ run('pnpm', ['typecheck'], sandbox);
+ run('pnpm', ['build'], sandbox);
+ server = await preview({
+ root: sandbox,
+ logLevel: 'silent',
+ preview: {host: '127.0.0.1', port: 0, strictPort: false},
+ });
+ const address = server.httpServer.address();
+ if (!address || typeof address === 'string') {
+ throw new Error('fixture preview did not expose a TCP port');
+ }
+ const url = `http://127.0.0.1:${address.port}`;
+ browser = await chromium.launch({headless: true});
+ if (command === 'contrast') {
+ await verifyContrast(browser, url);
+ console.log('guest fixture contrast verified in light and dark modes');
+ } else {
+ await captureScreenshots(browser, url);
+ console.log('updated enterprise fixture gallery screenshots');
+ }
+ } finally {
+ await browser?.close();
+ await server?.close();
+ fs.rmSync(sandboxParent, {recursive: true, force: true});
+ }
+}
+
+await main();
diff --git a/internal/vibe-tests/src/fixture-suite.mjs b/internal/vibe-tests/src/fixture-suite.mjs
index 0b4ea0e54f..a5181f2fdc 100644
--- a/internal/vibe-tests/src/fixture-suite.mjs
+++ b/internal/vibe-tests/src/fixture-suite.mjs
@@ -32,6 +32,7 @@ export const FIXTURE_ASSETS_TOTAL_MAX_BYTES = 300 * 1024;
export const FIXTURE_IDS = [
'tailwind-v4-control',
'shadcn-tailwind-v4-established',
+ 'enterprise-scoped-synthetic',
];
const REQUIRED_PROVENANCE_FIELDS = [
@@ -187,6 +188,26 @@ function validateFixtureShape(fixtureId, fixtureRoot) {
'popover-trigger',
'popover-surface',
],
+ 'enterprise-scoped-synthetic': [
+ 'host-shell',
+ 'page-title',
+ 'mode-control',
+ 'table-header',
+ 'status',
+ 'settings-control',
+ 'guest-boundary',
+ 'guest-callout',
+ 'guest-callout-heading',
+ 'dialog-trigger',
+ 'dialog-backdrop',
+ 'dialog-surface',
+ 'dialog-body',
+ 'dialog-callout',
+ 'destructive-action',
+ 'popover-trigger',
+ 'popover-surface',
+ 'popover-menu-item',
+ ],
}[fixtureId];
const nestedOverlayMarkers = {
'tailwind-v4-control': [],
@@ -198,6 +219,13 @@ function validateFixtureShape(fixtureId, fixtureRoot) {
'popover-trigger',
'popover-surface',
],
+ 'enterprise-scoped-synthetic': [
+ 'dialog-trigger',
+ 'dialog-backdrop',
+ 'dialog-surface',
+ 'popover-trigger',
+ 'popover-surface',
+ ],
}[fixtureId];
for (const marker of nestedOverlayMarkers) {
if (!app.includes(`data-vibe-probe="${marker}"`)) {
@@ -272,6 +300,38 @@ function validateFixtureShape(fixtureId, fixtureRoot) {
fail(`${fixtureId}: missing ${surface} surface`);
}
}
+
+ if (fixtureId === 'enterprise-scoped-synthetic') {
+ for (const token of [
+ 'success',
+ 'warning',
+ 'error',
+ 'overlay',
+ 'accent',
+ 'border',
+ ]) {
+ if (!css.includes(`--color-${token}:`))
+ fail(`${fixtureId}: missing ${token} semantic token`);
+ }
+ for (const marker of [
+ 'data-mode={mode}',
+ 'data-guest-design-system',
+ '<table',
+ 'createPortal(',
+ 'role="dialog"',
+ 'role="menu"',
+ 'aria-modal="true"',
+ ]) {
+ if (!app.includes(marker))
+ fail(`${fixtureId}: missing ${marker} boundary surface`);
+ }
+ if (
+ !css.includes("[data-mode='light']") ||
+ !css.includes("[data-mode='dark']")
+ ) {
+ fail(`${fixtureId}: light and dark modes must be app-controlled`);
+ }
+ }
}
export function validateFixture({fixtureId, fixtureRoot, recipe, actualFiles}) {
diff --git a/internal/vibe-tests/src/fixture-suite.test.mjs b/internal/vibe-tests/src/fixture-suite.test.mjs
index 0289175ffd..9ffc69da0a 100644
--- a/internal/vibe-tests/src/fixture-suite.test.mjs
+++ b/internal/vibe-tests/src/fixture-suite.test.mjs
@@ -184,6 +184,22 @@ describe('canonical fixture suite', () => {
).toThrow(/missing Tailwind v4 light\/dark theme structure/);
});
+ it('rejects an enterprise fixture without its guest boundary', () => {
+ const fixtureId = 'enterprise-scoped-synthetic';
+ const sandbox = sandboxFor(fixtureId);
+ const appFile = path.join(sandbox, 'src', 'App.tsx');
+ const app = fs
+ .readFileSync(appFile, 'utf8')
+ .replaceAll('data-guest-design-system', 'data-guest');
+ fs.writeFileSync(appFile, app);
+ const recipe = cloneRecipe(fixtureId);
+ updateHash(recipe, sandbox, 'src/App.tsx');
+
+ expect(() =>
+ validateFixture({fixtureId, fixtureRoot: sandbox, recipe}),
+ ).toThrow(/missing data-guest-design-system boundary surface/);
+ });
+
it('rejects a missing stable host probe even with a refreshed hash', () => {
const fixtureId = 'shadcn-tailwind-v4-established';
const sandbox = sandboxFor(fixtureId);
@@ -203,7 +219,10 @@ describe('canonical fixture suite', () => {
).toThrow(/stable host probe markers/);
});
- it.each([['shadcn-tailwind-v4-established', 'tooltip-surface']])(
+ it.each([
+ ['shadcn-tailwind-v4-established', 'tooltip-surface'],
+ ['enterprise-scoped-synthetic', 'popover-surface'],
+ ])(
'rejects %s when nested overlay coverage is removed',
(fixtureId, marker) => {
const sandbox = sandboxFor(fixtureId);