Skip to content

Commit

Permalink
refactor: upgrade astro-icon to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mickasmt committed Feb 24, 2024
1 parent 8fba4c8 commit 8266062
Show file tree
Hide file tree
Showing 13 changed files with 359 additions and 89 deletions.
8 changes: 5 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import vercel from "@astrojs/vercel/static";
import icon from "astro-icon";
import { defineConfig } from "astro/config";
import vercel from '@astrojs/vercel/static';

// https://astro.build/config
export default defineConfig({
site: "https://astro-nomy.vercel.app",
integrations: [
mdx({
syntaxHighlight: 'shiki',
shikiConfig: { theme: 'github-dark-dimmed' },
syntaxHighlight: "shiki",
shikiConfig: { theme: "github-dark-dimmed" },
gfm: true,
}),
icon(),
sitemap(),
react(),
tailwind({
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"@astrojs/sitemap": "^3.1.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.3.3",
"@iconify-json/lucide": "^1.1.168",
"@iconify-json/mdi": "^1.1.64",
"@iconify-json/ri": "^1.1.19",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-navigation-menu": "^1.1.4",
Expand All @@ -25,7 +28,7 @@
"@types/react": "^18.2.58",
"@types/react-dom": "^18.2.19",
"astro": "^4.4.4",
"astro-icon": "^0.8.2",
"astro-icon": "^1.1.0",
"balance-text": "^3.3.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
Expand Down
Loading

0 comments on commit 8266062

Please sign in to comment.