mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
🔥 Remove Noto
This commit is contained in:
parent
e535a0e5be
commit
9f69067cde
2 changed files with 2 additions and 8 deletions
|
@ -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} />)}
|
||||
|
|
|
@ -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")],
|
||||
|
|
Loading…
Add table
Reference in a new issue