Skip to content

Commit 90f3759

Browse files
authored
[App] Remove unused Inter font (#64)
Per [design](https://www.figma.com/design/lrko7TMR4xy6Xb0w5GwzCQ?node-id=94-365#1356709561), the intended sans-serif is Roboto. This removes Inter from the app. I also searched for uses of "--font-inter" and there were none.
1 parent 79f8ce0 commit 90f3759

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

apps/app/src/app/layout.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Toast } from '@op/ui/Toast';
55
import '@op/ui/tailwind-styles';
66
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
77
import type { Metadata, Viewport } from 'next';
8-
import { Inter, Roboto, Roboto_Mono, Roboto_Serif } from 'next/font/google';
8+
import { Roboto, Roboto_Mono, Roboto_Serif } from 'next/font/google';
99
import Script from 'next/script';
1010

1111
import { register } from '../../instrumentation';
@@ -21,13 +21,6 @@ const roboto = Roboto({
2121
display: 'swap',
2222
});
2323

24-
const inter = Inter({
25-
subsets: ['latin'],
26-
weight: 'variable',
27-
variable: '--font-inter',
28-
display: 'swap',
29-
});
30-
3124
const robotoMono = Roboto_Mono({
3225
subsets: ['latin'],
3326
weight: 'variable',
@@ -88,7 +81,7 @@ const RootLayout = async ({ children }: { children: React.ReactNode }) => {
8881
<WebVitals />
8982
<TRPCProvider>
9083
<body
91-
className={`${roboto.variable} ${robotoMono.variable} ${robotoSerif.variable} ${inter.variable} overflow-x-hidden text-base text-neutral-black antialiased`}
84+
className={`${roboto.variable} ${robotoMono.variable} ${robotoSerif.variable} overflow-x-hidden text-base text-neutral-black antialiased`}
9285
>
9386
<PostHogProvider>{children}</PostHogProvider>
9487
<ReactQueryDevtools initialIsOpen={false} />

0 commit comments

Comments
 (0)