diff --git a/src/globals.css b/src/globals.css index dc778f4..4621bf2 100644 --- a/src/globals.css +++ b/src/globals.css @@ -3,7 +3,7 @@ @tailwind utilities; body { - @apply overscroll-none bg-[#fefefe] text-neutral-900 antialiased dark:bg-[#040404] dark:text-neutral-100; + @apply overscroll-none bg-[#fefefe] font-sans text-neutral-900 antialiased dark:bg-[#040404] dark:text-neutral-100; } #__next { diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 9939bf3..af0b99d 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -10,9 +10,9 @@ import {useFirstEverLoad, useVisitCounts} from '../hooks/use-first-ever-load'; const serif = Newsreader({ subsets: ['latin'], - weight: ['400', '200'], + weight: ['400'], style: 'italic', - fallback: ['serif'], + // fallback: ['serif'], }); const body = Inter({ @@ -36,7 +36,7 @@ export default function App({Component, pageProps}: AppProps) { {` :root { --font-serif: ${serif.style.fontFamily}; - --font-body: ${body.style.fontFamily}; + --font-sans: ${body.style.fontFamily}; } `} diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 6a3ab46..7d50c46 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -60,7 +60,7 @@ export default function Home(props: Props) { key: 'intro', content: (
- Hi, I'm Alistair. I'm a software + Hi, I'm Alistair. I'm a software engineer
), @@ -104,10 +104,10 @@ export default function Home(props: Props) { key={post.slug} className="group block w-fit min-w-[300px] overflow-hidden px-3 py-2" > -

+

{post.name}

-

{post.excerpt}

+

{post.excerpt}

), })), @@ -288,7 +288,8 @@ export default function Home(props: Props) { key: 'discord', content: (
- My Discord is @alistaiir - I'm currently{' '} + My Discord is @alistaiir - I'm + currently{' '}