Font Change #3
@ -16,7 +16,7 @@ import profilePicture from "@/assets/profile-picture.png";
|
|||||||
draggable="false"
|
draggable="false"
|
||||||
class="mx-auto size-32 rounded-full"
|
class="mx-auto size-32 rounded-full"
|
||||||
/>
|
/>
|
||||||
<h1 class="mt-4 text-center text-3xl font-JetBrainsMonoNLNerdFont-Regular">{SITE.name}</h1>
|
<h1 class="mt-4 text-center text-3xl">{SITE.name}</h1>
|
||||||
<p
|
<p
|
||||||
class="mt-1 text-balance text-center text-sm text-lightModeForegroundMuted dark:text-darkModeForegroundMuted"
|
class="mt-1 text-balance text-center text-sm text-lightModeForegroundMuted dark:text-darkModeForegroundMuted"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -7,7 +7,7 @@ const { post } = Astro.props;
|
|||||||
<li class="flex flex-col text-center no-underline">
|
<li class="flex flex-col text-center no-underline">
|
||||||
<a href={`/blog/${post.slug}`}>
|
<a href={`/blog/${post.slug}`}>
|
||||||
<span
|
<span
|
||||||
class="flex flex-wrap justify-center text-balance text-2xl font-medium"
|
class="flex flex-wrap justify-center text-balance text-2xl"
|
||||||
>{post.data.title}</span
|
>{post.data.title}</span
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import Footer from "@/components/Footer.astro";
|
|||||||
<BaseHead>
|
<BaseHead>
|
||||||
<slot name="head" />
|
<slot name="head" />
|
||||||
</BaseHead>
|
</BaseHead>
|
||||||
<body class="mx-auto min-h-screen max-w-xs p-3 font-mono sm:p-6">
|
<body class="mx-auto min-h-screen max-w-xs p-3 sm:p-6">
|
||||||
<main>
|
<main>
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const { Content } = await entry.render();
|
|||||||
<main>
|
<main>
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
class="block py-3 text-lg font-medium uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground"
|
class="block py-3 text-lg uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground"
|
||||||
>{`← ${SITE.name}`}</a
|
>{`← ${SITE.name}`}</a
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
@ -44,7 +44,7 @@ const { Content } = await entry.render();
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
<h1
|
<h1
|
||||||
class="mt-6 flex flex-wrap justify-center text-balance text-2xl font-medium text-lightModeForeground dark:text-darkModeForeground"
|
class="mt-6 flex flex-wrap justify-center text-balance text-2xl text-lightModeForeground dark:text-darkModeForeground"
|
||||||
>
|
>
|
||||||
{entry.data.title}
|
{entry.data.title}
|
||||||
</h1>
|
</h1>
|
||||||
@ -59,7 +59,7 @@ const { Content } = await entry.render();
|
|||||||
</div>
|
</div>
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
class="block py-3 text-lg font-medium uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground"
|
class="block py-3 text-lg uppercase text-lightModeForegroundMuted underline underline-offset-4 hover:text-lightModeForeground dark:text-darkModeForegroundMuted dark:hover:text-darkModeForeground"
|
||||||
>{`← ${SITE.name}`}</a
|
>{`← ${SITE.name}`}</a
|
||||||
>
|
>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@ -6,10 +6,7 @@ export default {
|
|||||||
},
|
},
|
||||||
plugins: [require("@tailwindcss/typography")],
|
plugins: [require("@tailwindcss/typography")],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
fontFamily: {
|
|
||||||
customFont: ['"JetBrainsMonoNLNerdFont-Regular.ttf"', ""],
|
|
||||||
},
|
|
||||||
colors: {
|
colors: {
|
||||||
lightModeBackground:
|
lightModeBackground:
|
||||||
"rgb(var(--light-mode-background) / <alpha-value>)",
|
"rgb(var(--light-mode-background) / <alpha-value>)",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user