feat: rename --font-cal to --font-heading + use Cal Sans UI (#26064)
* feat: rename --font-cal to --font-heading + use Cal Sans UI * chore: remove font-weight from font-heading elements and CSS variables Co-Authored-By: [email protected] <[email protected]> * chore: remove unneeded css vars * fix: cubic issues --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Rajiv Sahal <[email protected]>
This commit is contained in:
74 files changed
+159
-141
No files matched your search
@@ -4,6 +4,7 @@ import { dir } from "i18next";
|
||||
import type { DocumentContext, DocumentProps } from "next/document";
|
||||
import Document, { Head, Html, Main, NextScript } from "next/document";
|
||||
|
||||
import { fontHeading, fontSans } from "@coss/ui/fonts";
|
||||
import { IS_PRODUCTION } from "@calcom/lib/constants";
|
||||
|
||||
import { applyTheme, applyToDesktopClass } from "./../lib/pages/document/_applyThemeForDocument";
|
||||
@@ -82,7 +83,7 @@ class MyDocument extends Document<Props> {
|
||||
</Head>
|
||||
|
||||
<body
|
||||
className="dark:bg-default bg-subtle antialiased"
|
||||
className={`${fontSans.variable} ${fontHeading.variable} font-sans dark:bg-default bg-subtle antialiased`}
|
||||
style={
|
||||
isEmbed
|
||||
? {
|
||||
|
||||
Reference in new issue
Block a user