The close icon used the Button "secondary" variant's text-secondary-foreground, a near-white token fixed across both themes. That reads fine against the dark Hades popover but is almost invisible against the light Apollo popover since bg-transparent removes the variant's own background. text-foreground already adapts per-theme and is what a plain icon-only dismiss button should use. Pre-existing bug, unrelated to the reka-ui removal (same classes existed before) -- confirmed via computed-style + screenshot checks in both themes in headless Chromium. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| components.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||