diff --git a/postcss.config.mjs b/postcss.config.mjs index 991a98a..9d42973 100644 --- a/postcss.config.mjs +++ b/postcss.config.mjs @@ -2,7 +2,6 @@ const config = { plugins: { '@tailwindcss/postcss': {}, - autoprefixer: {}, 'postcss-preset-env': { features: { 'nesting-rules': false, diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index b77ffa8..45eb856 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -200,9 +200,9 @@ const currentPath = pathname.slice(1); // Add shadow on scroll if (currentScrollY > 10) { - header.classList.add('shadow-sm'); + header.classList.add('shadow-xs'); } else { - header.classList.remove('shadow-sm'); + header.classList.remove('shadow-xs'); } // Update last scroll position @@ -240,6 +240,6 @@ const currentPath = pathname.slice(1); /* Mobile menu transition */ #mobile-menu { transition: opacity 0.3s ease; - backdrop-filter: blur(4px); + backdrop-filter: blur-sm(4px); } diff --git a/src/components/ShareButtons.astro b/src/components/ShareButtons.astro index db9c0f1..e7481a2 100644 --- a/src/components/ShareButtons.astro +++ b/src/components/ShareButtons.astro @@ -94,7 +94,7 @@ const encodedUrl = encodeURIComponent(url); > Copied! diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro index 30f7cbc..252bcdc 100644 --- a/src/components/ThemeToggle.astro +++ b/src/components/ThemeToggle.astro @@ -5,7 +5,7 @@ @@ -274,12 +274,12 @@ } #theme-toggle:hover .icon-light:not(.dark .icon-light) { - filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.6)); + filter: drop-shadow-sm(0 0 2px rgba(251, 191, 36, 0.6)); transform: scale(1.1) rotate(15deg); } #theme-toggle:hover .icon-dark:not(:not(.dark) .icon-dark) { - filter: drop-shadow(0 0 2px rgba(129, 140, 248, 0.6)); + filter: drop-shadow-sm(0 0 2px rgba(129, 140, 248, 0.6)); transform: scale(1.1) rotate(-15deg); } } diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 5fa7b13..91df3ab 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -42,7 +42,7 @@ const { title, description } = Astro.props; - + @@ -281,7 +281,7 @@ const { title, description } = Astro.props; /* Page transition effects */ #page-transition { transition: opacity 0.3s ease; - backdrop-filter: blur(4px); + backdrop-filter: blur-sm(4px); } /* Transition spinner animation */ diff --git a/src/pages/404.astro b/src/pages/404.astro index 9a6a6a8..0ae428d 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -68,7 +68,7 @@ import Layout from '../layouts/Layout.astro'; Did you know? diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index c4ed40c..f4f448e 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -309,7 +309,7 @@ const { post, nextPost, prevPost } = Astro.props; } .prose code { - @reference rounded bg-zinc-100 px-1.5 py-0.5 text-sm font-medium text-zinc-800 dark:bg-zinc-800 dark:text-zinc-200; + @reference rounded-sm bg-zinc-100 px-1.5 py-0.5 text-sm font-medium text-zinc-800 dark:bg-zinc-800 dark:text-zinc-200; } .prose pre { diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 68c93f1..dad6eeb 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -202,7 +202,7 @@ const allTags = [...new Set(sortedPosts.flatMap((post) => post.tags || []))]; - + {post.description} diff --git a/src/pages/index.astro b/src/pages/index.astro index 4da7505..60a15cf 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -236,7 +236,7 @@ const allTags = [...new Set(posts.flatMap((post) => post.tags || []))].slice(0, #{tag} - + {tagCount} {tagCount === 1 ? 'post' : 'posts'} diff --git a/src/pages/topics/[tag].astro b/src/pages/topics/[tag].astro index f7af2d0..f46138f 100644 --- a/src/pages/topics/[tag].astro +++ b/src/pages/topics/[tag].astro @@ -88,7 +88,7 @@ const relatedTags = [ class="mb-2 flex flex-col justify-center gap-4 sm:flex-row sm:items-center sm:justify-start" > ( #{relatedTag} @@ -167,7 +167,7 @@ const relatedTags = [ {post.image && ( - + b.count - a.count); Explore @@ -101,7 +101,7 @@ const sortedTags = [...tagObjects].sort((a, b) => b.count - a.count); ) : ( - + @@ -114,13 +114,13 @@ const sortedTags = [...tagObjects].sort((a, b) => b.count - a.count); {sortedTags.map((tag) => ( - + # @@ -554,8 +554,8 @@ const sortedTags = [...tagObjects].sort((a, b) => b.count - a.count); } /* Prevent layout shifts */ - .flex-grow { - flex-grow: 1; + .grow { + grow: 1; } .min-w-0 {
+
{post.description}