Skip to content

Commit

Permalink
docs(www): update contrubuting.md and next.mdx (shadcn-ui#1343)
Browse files Browse the repository at this point in the history
* docs: Update CONTRIBUTING.md

added commit convention section to the contribution docs.

* docs: Update next.mdx for dark mode

---------

Co-authored-by: shadcn <[email protected]>
  • Loading branch information
NikharPandya and shadcn authored Aug 31, 2023
1 parent 98ede7f commit fcc1074
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/docs/dark-mode/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ description: Adding dark mode to your next app.

<Steps>

### Install next-themes

Start by installing `next-themes`:

```bash
npm install next-themes
```

### Create a theme provider

```tsx title="components/theme-provider.tsx"
Expand Down

0 comments on commit fcc1074

Please sign in to comment.