Skip to content

Commit

Permalink
feat(ui): add iconify
Browse files Browse the repository at this point in the history
  • Loading branch information
litingyes committed Nov 24, 2024
1 parent 88cc280 commit d4e5ace
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"bradlc.vscode-tailwindcss"
"bradlc.vscode-tailwindcss",
"antfu.iconify"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@
"scss",
"pcss",
"postcss"
],
"cSpell.words": [
"iconify"
]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A template for create nextjs app project

- [tailwindcss](https://tailwindcss.com/)
- [NextUI](https://nextui.org/)
- [iconify](https://iconify.design/)

### Lint & Format

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"devDependencies": {
"@antfu/eslint-config": "^3.9.2",
"@eslint-react/eslint-plugin": "^1.16.1",
"@iconify/json": "^2.2.275",
"@iconify/tailwind": "^1.1.3",
"@next/eslint-plugin-next": "^15.0.3",
"@types/node": "^20",
"@types/react": "^18",
Expand Down
26 changes: 26 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Config } from 'tailwindcss'
import { addDynamicIconSelectors } from '@iconify/tailwind'
import { nextui } from '@nextui-org/react'

export default {
Expand All @@ -12,5 +13,6 @@ export default {
darkMode: 'class',
plugins: [
nextui(),
addDynamicIconSelectors(),
],
} satisfies Config

0 comments on commit d4e5ace

Please sign in to comment.