Daniele Luisetto

Results 139 comments of Daniele Luisetto

Hi @AmeerMuaviya, when `darkMode` is set to `class` the dark theme is applied when a component has the `dark` className applied to it. You can enable global dark mode by...

Hi @xixixao, the `.dark` class is used to make it work with TailwindCSS since the darkMode is set to `class` in the `tailwind.config.js`. If you want you change it to...

> are the only two options class and media for darkMode? Yes, you can check the [TailwindCSS Docs](https://tailwindcss.com/docs/dark-mode) for further info.

In that way every component would change when you change the color scheme. Using the `dark:` selector lets you decide whether a component should have dark mode or not.

Hi @jarrodwatts, @mohamedaleya is right, you need to have this path in your `tsconfig.json`: ```json "paths": { "@/*": ["./*"] } ```

@ahmedivy this issue can be closed as completed. @shadcn

Hi @ryanbrwr, what do you mean with “breaks”? Can you provide a better explanation of your problem?

Did you add the paths in the `tsconfig.json`?

Sure, this is from the manual installation guide. https://ui.shadcn.com/docs/installation/manual#configure-path-aliases

Hi @NikharPandya, I really appreciate your work but a PR for the vite docs has already been opened by @samuelkurdz (#714). He just needs to apply the new layout to...