diff --git a/package.json b/package.json index 9e90781..6c713e1 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "@astrojs/sitemap": "^3.2.1", "@astrojs/svelte": "^7.0.1", "@catppuccin/palette": "^1.7.1", - "@iconify-json/lucide": "^1.2.18", "@iconify-json/ph": "^1.2.1", "@iconify-json/simple-icons": "^1.2.14", "@iconify/svelte": "^4.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d889da1..590504c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,9 +29,6 @@ importers: '@catppuccin/palette': specifier: ^1.7.1 version: 1.7.1 - '@iconify-json/lucide': - specifier: ^1.2.18 - version: 1.2.18 '@iconify-json/ph': specifier: ^1.2.1 version: 1.2.2 @@ -664,9 +661,6 @@ packages: '@expressive-code/plugin-text-markers@0.38.3': resolution: {integrity: sha512-dPK3+BVGTbTmGQGU3Fkj3jZ3OltWUAlxetMHI6limUGCWBCucZiwoZeFM/WmqQa71GyKRzhBT+iEov6kkz2xVA==} - '@iconify-json/lucide@1.2.18': - resolution: {integrity: sha512-SFBoHBSULntem84iWxGM9NzlP6QY/dwjxC5t4c1lC7+xq31Fous8JkppoJih0/ICJ3CsbppRZeb11y3iLcwwug==} - '@iconify-json/ph@1.2.2': resolution: {integrity: sha512-PgkEZNtqa8hBGjHXQa4pMwZa93hmfu8FUSjs/nv4oUU6yLsgv+gh9nu28Kqi8Fz9CCVu4hj1MZs9/60J57IzFw==} @@ -3694,10 +3688,6 @@ snapshots: dependencies: '@expressive-code/core': 0.38.3 - '@iconify-json/lucide@1.2.18': - dependencies: - '@iconify/types': 2.0.0 - '@iconify-json/ph@1.2.2': dependencies: '@iconify/types': 2.0.0 @@ -4100,7 +4090,7 @@ snapshots: '@shikijs/vscode-textmate@9.3.1': {} - '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1))': + '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.14.5)(vite@6.0.4(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1))': dependencies: '@sveltejs/vite-plugin-svelte': 5.0.1(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)) debug: 4.4.0 @@ -4111,7 +4101,7 @@ snapshots: '@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)) + '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.14.5)(vite@6.0.4(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.14.5)(vite@6.0.3(@types/node@22.10.2)(jiti@2.4.2)(sass@1.83.0)(tsx@4.19.2)(yaml@2.6.1)) debug: 4.4.0 deepmerge: 4.3.1 kleur: 4.1.5 diff --git a/src/content.config.ts b/src/content.config.ts index 83ea30b..7e2b889 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -11,6 +11,7 @@ const blog = defineCollection({ z.object({ hero: z.object({ image: image(), + alt: z.string(), author: z.string(), source: z.string(), }), @@ -25,9 +26,7 @@ const blog = defineCollection({ authors: z.array( z.object({ name: z.string(), - title: z.string(), github: z.string(), - email: z.string().email(), }), ), }), diff --git a/src/data/blog/celebrating-three-years-of-catppuccin.mdx b/src/data/blog/celebrating-three-years-of-catppuccin.mdx index a1fe767..9363d0b 100644 --- a/src/data/blog/celebrating-three-years-of-catppuccin.mdx +++ b/src/data/blog/celebrating-three-years-of-catppuccin.mdx @@ -1,6 +1,7 @@ --- hero: image: "./celebrating-three-years-of-catppuccin.png" + alt: "A large field of sunflowers under a cloudy sky" author: "Jorgen Hendriksen" source: "https://unsplash.com/photos/a-large-field-of-sunflowers-under-a-cloudy-sky-H_cQ7I2FPqk" title: "Celebrating 3 Years of Catppuccin" @@ -10,9 +11,7 @@ accentColor: yellow datePosted: "2024-12-05" authors: - name: "Hammy" - title: "Co-Owner" github: "sgoudham" - email: "hammy@catppuccin.com" --- Welcome to Catppuccin's first (and very short) blog post! We'll try our best to diff --git a/src/data/blog/state-of-catppuccin-2024.mdx b/src/data/blog/state-of-catppuccin-2024.mdx index 268b23f..547d4e0 100644 --- a/src/data/blog/state-of-catppuccin-2024.mdx +++ b/src/data/blog/state-of-catppuccin-2024.mdx @@ -1,6 +1,7 @@ --- hero: image: "./celebrating-three-years-of-catppuccin.png" + alt: "A large field of sunflowers under a cloudy sky" author: "Jorgen Hendriksen" source: "https://unsplash.com/photos/a-large-field-of-sunflowers-under-a-cloudy-sky-H_cQ7I2FPqk" title: "State of Catppuccin 2024" @@ -11,9 +12,7 @@ datePosted: "2024-12-05" draft: true authors: - name: "Hammy" - title: "Co-Owner" github: "sgoudham" - email: "hammy@catppuccin.com" --- Having felt quite inspired by Spotify Wrapped last year, I whipped up a short diff --git a/src/data/blog/why-we-ditched-the-icon-for-external-links.mdx b/src/data/blog/why-we-ditched-the-icon-for-external-links.mdx index 36b3a46..51e0f03 100644 --- a/src/data/blog/why-we-ditched-the-icon-for-external-links.mdx +++ b/src/data/blog/why-we-ditched-the-icon-for-external-links.mdx @@ -1,6 +1,7 @@ --- hero: image: "./why-we-ditched-the-icon-for-external-links.png" + alt: "Aerial photography of concrete roads" author: "Denys Nevozhai" source: "https://unsplash.com/photos/aerial-photography-of-concrete-roads-7nrsVjvALnA" title: "Why We Ditched the Icon for External Links" @@ -11,13 +12,9 @@ datePosted: "2024-12-18" featured: true authors: - name: "Lemon" - title: "Co-Owner" github: "unseen-ninja" - email: "lemon@unseen.ninja" - name: "Hammy" - title: "Co-Owner" github: "sgoudham" - email: "hammy@catppuccin.com" --- You may or may not have already noticed it; The small arrow (`↗`) we used to diff --git a/src/data/icons.ts b/src/data/icons.ts index 34e4777..cb86083 100644 --- a/src/data/icons.ts +++ b/src/data/icons.ts @@ -3,12 +3,10 @@ import type { IconifyIcon, IconifyJSONIconsData } from "@iconify/types"; import customIconsJson from "./icons.json"; import simpleIconsJson from "@iconify-json/simple-icons/icons.json"; import phIconsJson from "@iconify-json/ph/icons.json"; -import lucideIconsJson from "@iconify-json/lucide/icons.json"; const customIcons = customIconsJson as IconifyJSONIconsData; const simpleIcons = simpleIconsJson as IconifyJSONIconsData; const phIcons = phIconsJson as IconifyJSONIconsData; -const lucideIcons = lucideIconsJson as IconifyJSONIconsData; const DEFAULT_VIEWBOX = 16; @@ -58,7 +56,7 @@ export const portIcon = (name: string | undefined): IconifyIcon => { export const icon = (identifier: string): IconifyIcon => { const [prefix, name] = identifier.split(":"); - const lib = [customIcons, simpleIcons, phIcons, lucideIcons].find((lib) => lib.prefix === prefix); + const lib = [customIcons, simpleIcons, phIcons].find((lib) => lib.prefix === prefix); if (lib) { const icon = lib.icons[name]; if (icon) { diff --git a/src/pages/blog/[id].astro b/src/pages/blog/[id].astro index fa7a0ae..a7fdd60 100644 --- a/src/pages/blog/[id].astro +++ b/src/pages/blog/[id].astro @@ -50,7 +50,7 @@ const authorSep = (index: number) => {