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
@@ -156,7 +156,7 @@ export function ShellMain(props: LayoutProps) {
|
||||
{props.heading && (
|
||||
<h3
|
||||
className={classNames(
|
||||
"font-cal text-emphasis max-w-28 sm:max-w-72 md:max-w-80 hidden truncate text-lg font-semibold tracking-wide sm:text-xl md:block xl:max-w-full",
|
||||
"font-heading text-emphasis max-w-28 sm:max-w-72 md:max-w-80 hidden truncate text-lg tracking-wide sm:text-xl md:block xl:max-w-full",
|
||||
props.smallHeading ? "text-base" : "text-xl"
|
||||
)}>
|
||||
{!isLocaleReady ? <SkeletonText invisible /> : props.heading}
|
||||
|
||||
@@ -55,7 +55,7 @@ export function UpgradeTip({
|
||||
/>
|
||||
</picture>
|
||||
<div className="relative my-4 w-full px-4 pb-4 sm:px-8 md:px-14">
|
||||
<h1 className={classNames("font-cal mt-4 text-2xl sm:text-3xl")}>{title}</h1>
|
||||
<h1 className={classNames("font-heading mt-4 text-2xl sm:text-3xl")}>{title}</h1>
|
||||
<p className={classNames("mb-8 mt-4 max-w-sm text-sm sm:text-base")}>{description}</p>
|
||||
{buttons}
|
||||
</div>
|
||||
@@ -65,7 +65,7 @@ export function UpgradeTip({
|
||||
{features.map((feature) => (
|
||||
<div key={feature.title} className="bg-cal-muted mb-4 min-h-[180px] w-full rounded-md p-8 md:mb-0">
|
||||
{feature.icon}
|
||||
<h2 className="font-cal text-emphasis mt-4 text-lg">{feature.title}</h2>
|
||||
<h2 className="font-heading text-emphasis mt-4 text-lg">{feature.title}</h2>
|
||||
<p className="text-default">{feature.description}</p>
|
||||
</div>
|
||||
))}
|
||||
|
||||
@@ -83,7 +83,7 @@ export function WelcomeToCalcomModal() {
|
||||
</div>
|
||||
|
||||
<div className="mb-2 flex flex-col gap-2 text-center">
|
||||
<h2 className="font-cal text-emphasis text-2xl leading-none">
|
||||
<h2 className="font-heading text-emphasis text-2xl leading-none">
|
||||
{t("welcome_to_calcom", { appName: APP_NAME })}
|
||||
</h2>
|
||||
<p className="text-default text-sm leading-normal">{t("personal_welcome_description")}</p>
|
||||
|
||||
Reference in new issue
Block a user