Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Use one Inter cut everywhere (#3435)

Luke Vellaada73526b640
diff --git a/apps/landing/src/fonts/sans.ts b/apps/landing/src/fonts/sans.ts
index 89b7ef723..b6de40039 100644
--- a/apps/landing/src/fonts/sans.ts
+++ b/apps/landing/src/fonts/sans.ts
@@ -3,7 +3,4 @@ import { Inter } from "next/font/google";
export const sans = Inter({
subsets: ["latin"],
display: "swap",
- // The optical size axis lets large text render Inter's display cut
- // (tighter spacing, refined letterforms) via default optical sizing.
- axes: ["opsz"],
});
diff --git a/apps/web/src/app/[locale]/globals.css b/apps/web/src/app/[locale]/globals.css
index 21ecaedfd..e1431f3ca 100644
--- a/apps/web/src/app/[locale]/globals.css
+++ b/apps/web/src/app/[locale]/globals.css
@@ -3,11 +3,6 @@
/* Any app specific overrides will go here */
-/* Inter Display: the same family at its largest optical size */
-@utility font-display {
- font-variation-settings: "opsz" 32;
-}
-
/*
* The skip-to-content link moves focus to the page's #main-content landmark.
* The link itself is the visible focus indicator, so suppress the outline on
diff --git a/apps/web/src/app/[locale]/layout.tsx b/apps/web/src/app/[locale]/layout.tsx
index 81ae0d166..15d073872 100644
--- a/apps/web/src/app/[locale]/layout.tsx
+++ b/apps/web/src/app/[locale]/layout.tsx
@@ -27,8 +27,6 @@ import { TRPCProvider } from "@/trpc/client/provider";
const inter = Inter({
subsets: ["latin"],
display: "swap",
- // The optical size axis gives headings the Inter Display cut
- axes: ["opsz"],
});
export const viewport: Viewport = {
diff --git a/apps/web/src/components/list-view.tsx b/apps/web/src/components/list-view.tsx
index b929e63eb..84836db27 100644
--- a/apps/web/src/components/list-view.tsx
+++ b/apps/web/src/components/list-view.tsx
@@ -51,7 +51,7 @@ export function ListViewTitle({
return (
<h1
className={cn(
- "truncate font-display font-semibold text-foreground text-lg tracking-tight",
+ "truncate font-semibold text-foreground text-lg tracking-tight",
className,
)}
>
diff --git a/apps/web/src/components/page-layout.tsx b/apps/web/src/components/page-layout.tsx
index 115331d44..667fccf99 100644
--- a/apps/web/src/components/page-layout.tsx
+++ b/apps/web/src/components/page-layout.tsx
@@ -27,7 +27,7 @@ export function PageTitle({
return (
<h1
className={cn(
- "flex h-9 items-center gap-3 truncate font-display font-semibold text-foreground text-lg tracking-tight",
+ "flex h-9 items-center gap-3 truncate font-semibold text-foreground text-lg tracking-tight",
className,
)}
>