Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Apply font-inter everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
LL782 committed Oct 1, 2024
1 parent fddfd1c commit b67b12d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion developer-preview/src/app/UI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const UI = {
| ReactElement<HTMLSelectElement>[];
}) => (
<select
className="border-neutral-400 bg-white font-sans text-lg marker:-left-2 enabled:border enabled:p-2 disabled:appearance-none"
className="border-neutral-400 bg-white text-lg marker:-left-2 enabled:border enabled:p-2 disabled:appearance-none"
{...props}
>
{children}
Expand Down
14 changes: 2 additions & 12 deletions developer-preview/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "~/styles/globals.css";

import { Inter, Roboto } from "next/font/google";
import { Inter } from "next/font/google";
import { type Metadata } from "next";

export const metadata: Metadata = {
Expand All @@ -14,23 +14,13 @@ const inter = Inter({
weight: ["400", "500", "600"],
});

const roboto = Roboto({
display: "swap",
subsets: ["latin"],
variable: "--font-roboto",
weight: ["400", "500"],
});

export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html
lang="en"
className={`${roboto.className} ${roboto.variable} ${inter.variable}`}
>
<html lang="en" className={`${inter.className} ${inter.variable}`}>
<body>{children}</body>
</html>
);
Expand Down
1 change: 0 additions & 1 deletion developer-preview/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default {
theme: {
extend: {
fontFamily: {
sans: ["var(--font-roboto)"],
inter: ["var(--font-inter)"],
},
colors: {
Expand Down

0 comments on commit b67b12d

Please sign in to comment.