Update AI context for Tailwind v4 and React 19

- AGENTS.md: describe ui components as React 19 ref-as-prop function
  components using data-slot and the unified radix-ui package
- theming skill: register fonts and color tokens via @theme in
  src/index.css (no tailwind.config.ts); fix color values to use the
  hsl() wrapper that matches the real index.css
- ai-chat skill: import VisuallyHidden from the unified radix-ui package
- nwc skill: convert ZapDialog/WalletModal forwardRef to ref-as-prop
- edit-profile skill: drop React.FC in favor of plain function typing
This commit is contained in:
Alex Gleason committed 2026-06-05 09:43:15 -05:00
1 parent 459221305f
commit 772479e232
6 files changed
+41 -44

No files matched your search

+3 -3
View File
@@ -268,12 +268,12 @@ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } f
**Important**: Even if you want to hide the title visually, use the `VisuallyHidden` component to maintain accessibility:
```tsx
import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
import { VisuallyHidden } from "radix-ui";
<DialogHeader>
<VisuallyHidden>
<VisuallyHidden.Root>
<DialogTitle>Hidden Title for Screen Readers</DialogTitle>
</VisuallyHidden>
</VisuallyHidden.Root>
</DialogHeader>
```