Skip to content

Commit

Permalink
微小的优化
Browse files Browse the repository at this point in the history
  • Loading branch information
coderfe committed May 9, 2024
1 parent fcee494 commit 7d11fac
Show file tree
Hide file tree
Showing 16 changed files with 1,164 additions and 11 deletions.
10 changes: 8 additions & 2 deletions astro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ export default defineConfig({
[
rehypeExternalLinks,
{
content: { type: 'text', value: '🔗' },
content: {
type: 'element',
tagName: 'span',
properties: {
className: 'icon-[tabler--external-link]',
},
},
target: '_blank',
},
],
Expand All @@ -48,7 +54,7 @@ export default defineConfig({
mdx(),
sitemap(),
tailwind({
// applyBaseStyles: false,
applyBaseStyles: false,
}),
react(),
sentry({
Expand Down
4 changes: 2 additions & 2 deletions components.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "styles/style.css",
"css": "src/styles/style.css",
"baseColor": "zinc",
"cssVariables": false,
"prefix": ""
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.5.4",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-menubar": "^1.0.4",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@sentry/astro": "^7.113.0",
"@shikijs/transformers": "^1.4.0",
Expand Down
Loading

0 comments on commit 7d11fac

Please sign in to comment.