mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-15 09:01:48 +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 { inject } from "@vercel/analytics";
|
||||||
import { NextPage } from "next";
|
import { NextPage } from "next";
|
||||||
import { AppProps } from "next/app";
|
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 Head from "next/head";
|
||||||
import { appWithTranslation } from "next-i18next";
|
import { appWithTranslation } from "next-i18next";
|
||||||
import { DefaultSeo } from "next-seo";
|
import { DefaultSeo } from "next-seo";
|
||||||
|
@ -25,11 +25,6 @@ const inter = Inter({
|
||||||
display: "swap",
|
display: "swap",
|
||||||
});
|
});
|
||||||
|
|
||||||
const noto = Noto_Sans_Mono({
|
|
||||||
subsets: ["latin"],
|
|
||||||
display: "swap",
|
|
||||||
});
|
|
||||||
|
|
||||||
type PageProps = {
|
type PageProps = {
|
||||||
user: UserSession;
|
user: UserSession;
|
||||||
};
|
};
|
||||||
|
@ -85,7 +80,6 @@ const MyApp: NextPage<AppPropsWithLayout> = ({ Component, pageProps }) => {
|
||||||
<style jsx global>{`
|
<style jsx global>{`
|
||||||
html {
|
html {
|
||||||
--font-inter: ${inter.style.fontFamily};
|
--font-inter: ${inter.style.fontFamily};
|
||||||
--font-noto: ${noto.style.fontFamily};
|
|
||||||
}
|
}
|
||||||
`}</style>
|
`}</style>
|
||||||
{getLayout(<Component {...pageProps} />)}
|
{getLayout(<Component {...pageProps} />)}
|
||||||
|
|
|
@ -8,7 +8,7 @@ module.exports = {
|
||||||
...sharedConfig.theme,
|
...sharedConfig.theme,
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ["var(--font-inter)", ...defaultTheme.fontFamily.sans],
|
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")],
|
plugins: [require("@tailwindcss/typography"), require("tailwindcss-animate")],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue