tremor icon indicating copy to clipboard operation
tremor copied to clipboard

Styling does not seem to be working for me

Open Socvest opened this issue 1 year ago • 1 comments

I just stumbled on this package and think it is clean and nice. Wanted to get started on it though the styling does not seem to be working for me. I am currently testing it in a codesandbox and have seen other codesandbox examples though they employ later versions which allows them to use the imported css file. Though when I attempt to upgrade it to the latest version the imported css file springs an error.

I have also tried importing these into my global.css file to no avail.

@tailwind base;
@tailwind components;
@tailwind utilities;

Would really like some help on how to get this working.

Codesandbox for my example.

Thanks

Socvest avatar May 02 '23 14:05 Socvest

Hey @Socvest, you are missing the correct tailwind setup, notably a tailwind.config.js file. Make sure you have installed/added all the relevant dependencies for Tailwind as well (Postcss, autoprefixer, tailwint init). You can read it up here:

https://www.tremor.so/docs/getting-started/installation

severinlandolt avatar May 03 '23 12:05 severinlandolt

@Socvest Did it work out for you?

severinlandolt avatar Jul 01 '23 23:07 severinlandolt