🔥 Remove Noto

This commit is contained in:
Luke Vella 2023-03-20 16:45:59 +00:00
parent e535a0e5be
commit 9f69067cde
2 changed files with 2 additions and 8 deletions

View file

@ -5,7 +5,7 @@ import "~/style.css";
import { inject } from "@vercel/analytics";
import { NextPage } from "next";
import { AppProps } from "next/app";
import { Inter, Noto_Sans_Mono } from "next/font/google";
import { Inter } from "next/font/google";
import Head from "next/head";
import { appWithTranslation } from "next-i18next";
import { DefaultSeo } from "next-seo";
@ -25,11 +25,6 @@ const inter = Inter({
display: "swap",
});
const noto = Noto_Sans_Mono({
subsets: ["latin"],
display: "swap",
});
type PageProps = {
user: UserSession;
};
@ -85,7 +80,6 @@ const MyApp: NextPage<AppPropsWithLayout> = ({ Component, pageProps }) => {
<style jsx global>{`
html {
--font-inter: ${inter.style.fontFamily};
--font-noto: ${noto.style.fontFamily};
}
`}</style>
{getLayout(<Component {...pageProps} />)}

View file

@ -8,7 +8,7 @@ module.exports = {
...sharedConfig.theme,
fontFamily: {
sans: ["var(--font-inter)", ...defaultTheme.fontFamily.sans],
mono: ["var(--font-noto)", ...defaultTheme.fontFamily.mono],
mono: [...defaultTheme.fontFamily.mono],
},
},
plugins: [require("@tailwindcss/typography"), require("tailwindcss-animate")],