Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/react-aria-components/docs/styling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ Alternatively, you can use [render props](#render-props) to control which Tailwi
</Radio>
```

To access [CSS variables](#css-variables), use Tailwind's [arbitrary value](https://tailwindcss.com/docs/adding-custom-styles#using-arbitrary-values) syntax.
To access [CSS variables](#css-variables), use Tailwind's [arbitrary value](https://tailwindcss.com/docs/adding-custom-styles#resolving-ambiguities) syntax.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the old link as that's what this is about, that's a very specific link for how to help disambiguate what a variable stands for and isn't the point of this code snippet


```jsx
<Popover className="w-[--trigger-width]">
<Popover className="w-(--trigger-width)">
{/* ... */}
</Popover>
```
Expand Down