revert: "feat: rename --font-cal to --font-heading + use Cal Sans UI (#26064)" (#26759)

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Keith WilliamsandPeer Richelsen authored and GitHub committed 2026-01-12 16:57:27 +00:00
1 parent 3e063d6744
commit a4d4626319
74 files changed
+141 -159

No files matched your search

+2 -2
View File
@@ -85,7 +85,7 @@ const cvaCardTypeByVariant = cva("", {
{
variant: "SidebarCard",
structure: "title",
className: "text-sm font-heading",
className: "text-sm font-cal",
},
{
variant: "SidebarCard",
@@ -107,7 +107,7 @@ const cvaCardTypeByVariant = cva("", {
{
variant: "NewLaunchSidebarCard",
structure: "title",
className: "text-sm font-heading text-white",
className: "text-sm font-cal text-white",
},
{
variant: "NewLaunchSidebarCard",
@@ -65,7 +65,7 @@ export const ConfirmationContent = (props: PropsWithChildren<ConfirmationDialogC
</div>
)}
<div className="w-full">
<DialogPrimitive.Title className="font-heading text-emphasis mt-2 text-xl">
<DialogPrimitive.Title className="font-cal text-emphasis mt-2 text-xl">
{title}
</DialogPrimitive.Title>
<DialogPrimitive.Description asChild>
+1 -1
View File
@@ -129,7 +129,7 @@ export function DialogHeader(props: DialogHeaderProps) {
<div className="mb-4">
<h2
data-testid="dialog-title"
className="text-emphasis font-heading mb-1 text-xl"
className="text-semibold text-emphasis font-cal mb-1 text-xl"
id="modal-title">
{props.title}
</h2>
@@ -67,7 +67,7 @@ export function EmptyScreen({
<div className={`flex ${limitWidth ? "max-w-[420px]" : ""} flex-col items-center`}>
<h2
className={classNames(
"font-heading text-emphasis text-center text-xl normal-nums",
"text-semibold font-cal text-emphasis text-center text-xl normal-nums",
icon && "mt-6",
!description && "mb-8"
)}>
@@ -61,7 +61,7 @@ export function WizardForm({
<div className="mx-auto mt-4 print:w-full" data-testid="wizard-form">
<div className={classNames("overflow-hidden md:mb-2 md:w-[700px]", containerClassname)}>
<div className="px-6 py-5">
<h1 className="font-heading text-emphasis text-2xl" data-testid="step-title">
<h1 className="font-cal text-emphasis text-2xl" data-testid="step-title">
{currentStepData.title}
</h1>
<p className="text-subtle text-sm" data-testid="step-description">
@@ -46,7 +46,7 @@ export function WizardLayout({
<header>
{isLocaleReady ? (
<>
<p className="font-heading mb-3 text-[28px] leading-7">
<p className="font-cal mb-3 text-[28px] font-medium leading-7">
{title.replace(` | ${APP_NAME}`, "")}&nbsp;
</p>
<p className="text-subtle font-sans text-sm font-normal">{subtitle}&nbsp;</p>