Scheduling infrastructure for absolutely everyone.
fix: add system-ui fallback to font stack for non-Latin script support (#29346)
Arjun180ede28f0bd
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsxindex 63e36aa2c14..9a6dd27efd9 100644--- a/apps/web/app/layout.tsx+++ b/apps/web/app/layout.tsx@@ -116,7 +116,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo<head nonce={nonce}><style>{`:root {- --font-sans: ${interFont.style.fontFamily.replace(/\'/g, "")};+ --font-sans: ${interFont.style.fontFamily.replace(/\'/g, "")}, system-ui;--font-cal: ${calFont.style.fontFamily.replace(/\'/g, "")};}`}</style>diff --git a/apps/web/components/PageWrapper.tsx b/apps/web/components/PageWrapper.tsxindex c6ef0185a69..5aaa099240c 100644--- a/apps/web/components/PageWrapper.tsx+++ b/apps/web/components/PageWrapper.tsx@@ -89,7 +89,7 @@ function PageWrapper(props: AppProps) {<style jsx global>{`:root {- --font-sans: ${interFont.style.fontFamily};+ --font-sans: ${interFont.style.fontFamily}, system-ui;--font-cal: ${calFont.style.fontFamily};}`}</style>