From 108ad19cc30a4353ed911bd7a15522e142daf6bd Mon Sep 17 00:00:00 2001 From: kitty Date: Wed, 5 Mar 2025 00:48:31 +0000 Subject: [PATCH] removed all tailwind font css --- src/components/Introduction.astro | 2 +- src/components/Post.astro | 2 +- src/layouts/BaseLayout.astro | 2 +- src/pages/blog/[...slug].astro | 6 +++--- tailwind.config.mjs | 5 +---- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/Introduction.astro b/src/components/Introduction.astro index d445050..3cb3393 100644 --- a/src/components/Introduction.astro +++ b/src/components/Introduction.astro @@ -16,7 +16,7 @@ import profilePicture from "@/assets/profile-picture.png"; draggable="false" class="mx-auto size-32 rounded-full" /> -

{SITE.name}

+

{SITE.name}

diff --git a/src/components/Post.astro b/src/components/Post.astro index 4eb4317..3d4d320 100644 --- a/src/components/Post.astro +++ b/src/components/Post.astro @@ -7,7 +7,7 @@ const { post } = Astro.props;

  • {post.data.title}
    - +
    diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 63f2fdd..c6d8bed 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -31,7 +31,7 @@ const { Content } = await entry.render();
    {`← ${SITE.name}`} { @@ -44,7 +44,7 @@ const { Content } = await entry.render(); ) }

    {entry.data.title}

    @@ -59,7 +59,7 @@ const { Content } = await entry.render();
    {`← ${SITE.name}`} diff --git a/tailwind.config.mjs b/tailwind.config.mjs index ac8c019..5344b1d 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -6,10 +6,7 @@ export default { }, plugins: [require("@tailwindcss/typography")], theme: { - extend: { - fontFamily: { - customFont: ['"JetBrainsMonoNLNerdFont-Regular.ttf"', ""], - }, + extend: { colors: { lightModeBackground: "rgb(var(--light-mode-background) / )",