Skip to content

Commit

Permalink
docs(shadcn-ui): Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Jan 18, 2024
1 parent d5de260 commit a236f22
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/shadcn-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ nx g @nx-extend/shadcn-ui:init
```

After installation update your APPs `tailwind.config.ts` to this:

```ts
import { buildConfig } from '../libs/<lib directory>/src/tailwind.config'

Expand All @@ -39,3 +40,9 @@ export const links: LinksFunction = () => [
```sh
nx add <ui lib name> button
```

## Updating the theme

The generated `global.css` uses the default shadcn/ui theme.
Using the shadcn/ui theme editor, you can effortlessly apply a different theme.
Explore available themes here: https://ui.shadcn.com/themes

0 comments on commit a236f22

Please sign in to comment.