Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Jan 4, 2024
1 parent c5f4821 commit 6a2cb60
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .changeset/big-colts-cough.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,20 @@
'next-docs-ui': minor
---

Support theme presets
**Support theme presets**

Add theme presets for the Tailwind CSS plugin, the default and ocean presets are available now.

```ts
const { docsUi, docsUiPlugins } = require('next-docs-ui/tailwind-plugin');

/** @type {import('tailwindcss').Config} */
module.exports = {
plugins: [
...docsUiPlugins,
docsUi({
preset: 'ocean',
}),
],
};
```
1 change: 1 addition & 0 deletions apps/docs/content/docs/headless/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"index",
"page-conventions",
"page-tree",
"internationalization",
"---API References---",
"components",
"utils",
Expand Down

0 comments on commit 6a2cb60

Please sign in to comment.