ecklf / tailwindcss-radix

Utilities and variants for styling Radix state
https://tailwindcss-radix.vercel.app
MIT License
2.09k stars 67 forks source link

windy-radix-palette & tailwindcss-radix not work #10

Closed EryouHao closed 2 years ago

EryouHao commented 2 years ago

I am using both windy-radix-palette and tailwindcss-radix.

But I found that the css class of tailwindcss-radix does not work properly.

For example this.

<DropdownMenu.Content
              align="end"
              sideOffset={5}
              className={cx(
                " radix-side-top:animate-slide-up radix-side-bottom:animate-slide-down",
                "rounded-md p-3 beautify-shadow",
                "bg-white dark:bg-gray-800"
              )}
              style={{
                width: '278px'
              }}
            >

There is no animation applied on

ecklf commented 2 years ago

Hey there, do you have a reproduction repo to take a look on?

EryouHao commented 2 years ago

oh, sorry. It's the configuration I wrote that's wrong. I wrote it all in presets. They are working well now.

ecklf commented 2 years ago

No worries, glad you got it sorted out.