Skip to content

Commit

Permalink
🎽 chore: support iconify (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdsuwwz authored Aug 6, 2024
1 parent a918b37 commit f200aa0
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 11 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"devDependencies": {
"@antfu/eslint-config": "^2.24.1",
"@eslint-react/eslint-plugin": "^1.7.1",
"@iconify/json": "^2.2.234",
"@iconify/tailwind": "^1.1.2",
"@types/node": "^22.0.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
46 changes: 36 additions & 10 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions src/components/HomepageHero/Setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function SetupHero(props: Props) {
target="_blank"
>
Github
<span className="ml-[6px] icon-[mingcute--github-line]"></span>
</Link>
</Button>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const docsThemeConfig: DocsThemeConfig = {
description,
url,
},
themeColor: 'hsl(141.89999999999998, 69.2%, 58%)',
title: asPath !== '/' ? `${pageTitle} - ${title}` : title,
}
},
Expand Down
2 changes: 2 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Config } from 'tailwindcss'
import tailwindcssAnimate from 'tailwindcss-animate'
import { addDynamicIconSelectors } from '@iconify/tailwind'

const config = {
darkMode: ['class'],
Expand Down Expand Up @@ -77,6 +78,7 @@ const config = {
},
plugins: [
tailwindcssAnimate,
addDynamicIconSelectors(),
],
} satisfies Config

Expand Down

0 comments on commit f200aa0

Please sign in to comment.