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
@@ -85,7 +85,7 @@ const cvaCardTypeByVariant = cva("", {
|
||||
{
|
||||
variant: "SidebarCard",
|
||||
structure: "title",
|
||||
className: "text-sm font-cal",
|
||||
className: "text-sm font-heading",
|
||||
},
|
||||
{
|
||||
variant: "SidebarCard",
|
||||
@@ -107,7 +107,7 @@ const cvaCardTypeByVariant = cva("", {
|
||||
{
|
||||
variant: "NewLaunchSidebarCard",
|
||||
structure: "title",
|
||||
className: "text-sm font-cal text-white",
|
||||
className: "text-sm font-heading text-white",
|
||||
},
|
||||
{
|
||||
variant: "NewLaunchSidebarCard",
|
||||
|
||||
@@ -65,7 +65,7 @@ export const ConfirmationContent = (props: PropsWithChildren<ConfirmationDialogC
|
||||
</div>
|
||||
)}
|
||||
<div className="w-full">
|
||||
<DialogPrimitive.Title className="font-cal text-emphasis mt-2 text-xl">
|
||||
<DialogPrimitive.Title className="font-heading text-emphasis mt-2 text-xl">
|
||||
{title}
|
||||
</DialogPrimitive.Title>
|
||||
<DialogPrimitive.Description asChild>
|
||||
|
||||
@@ -129,7 +129,7 @@ export function DialogHeader(props: DialogHeaderProps) {
|
||||
<div className="mb-4">
|
||||
<h2
|
||||
data-testid="dialog-title"
|
||||
className="text-semibold text-emphasis font-cal mb-1 text-xl"
|
||||
className="text-emphasis font-heading 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(
|
||||
"text-semibold font-cal text-emphasis text-center text-xl normal-nums",
|
||||
"font-heading 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-cal text-emphasis text-2xl" data-testid="step-title">
|
||||
<h1 className="font-heading 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-cal mb-3 text-[28px] font-medium leading-7">
|
||||
<p className="font-heading mb-3 text-[28px] leading-7">
|
||||
{title.replace(` | ${APP_NAME}`, "")}
|
||||
</p>
|
||||
<p className="text-subtle font-sans text-sm font-normal">{subtitle} </p>
|
||||
|
||||
Reference in new issue
Block a user