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:
authored and GitHub committed 2026-01-09 10:42:23 +00:00
1 parent 56b29b5df6
commit c380ea810c
74 files changed
+159 -141

No files matched your search

@@ -97,7 +97,7 @@ export default function ApiKeyDialogForm({
{successfulNewApiKeyModal ? (
<>
<div className="mb-6">
<h2 className="font-semi-bold font-cal text-emphasis mb-2 text-xl tracking-wide">
<h2 className="font-heading text-emphasis mb-2 text-xl tracking-wide">
{t("success_api_key_created")}
</h2>
<div className="text-emphasis text-sm">
@@ -153,7 +153,7 @@ export default function ApiKeyDialogForm({
}}
className="stack-y-4">
<div className="mb-4 mt-1">
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
<h2 className="font-heading text-emphasis text-xl tracking-wide">
{defaultValues ? t("edit_api_key") : t("create_api_key")}
</h2>
{IS_CALCOM ? (
@@ -56,7 +56,7 @@ const CreateDirectory = ({ orgId }: { orgId: number | null }) => {
});
}}>
<div className="mb-5 mt-1">
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
<h2 className="font-heading text-emphasis text-xl tracking-wide">
{t("directory_sync_configure")}
</h2>
<p className="mt-1 text-sm text-gray-500">{t("directory_sync_configure_description")}</p>
@@ -70,7 +70,7 @@ function CreateAttributeHeader(props: { isPending: boolean }) {
href="/settings/organizations/attributes">
<span className="sr-only">{t("back_to_attributes")}</span>
</Button>
<div className="font-cal text-cal flex space-x-1 text-xl font-semibold leading-none">
<div className="font-heading text-cal flex space-x-1 text-xl leading-none">
<h1 className="text-emphasis">{t("attribute")}</h1>
{watchedTitle && (
<>
@@ -92,7 +92,7 @@ function EditAttributeHeader(props: { isPending: boolean }) {
href="/settings/organizations/attributes">
<span className="sr-only">{t("back_to_attributes")}</span>
</Button>
<div className="font-cal text-cal flex space-x-1 text-xl font-semibold leading-none">
<div className="font-heading text-cal flex space-x-1 text-xl leading-none">
<h1 className="text-emphasis">{t("attribute")}</h1>
{watchedTitle && (
<>
@@ -181,7 +181,7 @@ function OrganizationAttributesPage({
<div className="bg-emphasis text-emphasis flex h-16 w-16 items-center justify-center rounded-full p-2">
<Icon name="tags" />
</div>
<h2 className="font-cal text-emphasis mt-6 text-xl font-semibold leading-none">
<h2 className="font-heading text-emphasis mt-6 text-xl leading-none">
{t("add_attributes")}
</h2>
@@ -326,7 +326,7 @@ const CreateANewOrganizationFormChild = ({ session }: { session: Ensure<SessionC
{isBillingEnabled && !isAdmin && (
<>
<div className="bg-subtle stack-y-5 rounded-lg p-5">
<h3 className="font-cal text-default text-lg font-semibold leading-4">
<h3 className="font-heading text-default text-lg leading-4">
Upgrade to Organizations
</h3>
<RadioArea.Group className={classNames("mt-1 flex flex-col gap-4")} value="ORGANIZATION">
@@ -136,7 +136,7 @@ export function WelcomeToOrganizationsModal() {
</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_organizations")}
</h2>
<p className="text-default text-sm leading-normal">{t("organizations_welcome_description")}</p>
@@ -39,7 +39,7 @@ const PaymentStatusView = () => {
<Icon name="x" className="h-6 w-6 text-red-600" />
</div>
<div className="text-center">
<h1 className="font-cal text-emphasis text-2xl">{t("payment_failed")}</h1>
<h1 className="font-heading text-emphasis text-2xl">{t("payment_failed")}</h1>
<p className="text-default mt-2 text-sm">{paymentError || t("payment_failed_description")}</p>
</div>
<Button color="secondary" href="/settings/organizations/new/onboard-members">
@@ -55,7 +55,7 @@ const PaymentStatusView = () => {
<Icon name="check" className="h-6 w-6 text-green-600 dark:text-green-400" />
</div>
<div className="text-center">
<h1 className="font-cal text-emphasis text-2xl">{t("payment_successful")}</h1>
<h1 className="font-heading text-emphasis text-2xl">{t("payment_successful")}</h1>
<p className="text-default mt-2 text-sm">{t("creating_your_organization", { orgName: name })}</p>
<p className="text-subtle mt-1 text-sm">{t("this_may_take_a_few_seconds")}</p>
</div>
@@ -95,7 +95,7 @@ const CreateConnectionDialog = ({
wellKnownUrl,
});
}}>
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
<h2 className="font-heading text-emphasis text-xl tracking-wide">
{t("sso_oidc_configuration_title")}
</h2>
<p className="text-subtle mb-4 mt-1 text-sm">{t("sso_oidc_configuration_description")}</p>
@@ -90,7 +90,7 @@ const CreateConnectionDialog = ({
});
}}>
<div className="mb-1">
<h2 className="font-semi-bold font-cal text-emphasis text-xl tracking-wide">
<h2 className="font-heading text-emphasis text-xl tracking-wide">
{t("sso_saml_configuration_title")}
</h2>
<p className="text-subtle mb-5 mt-1 text-sm">{t("sso_saml_configuration_description")}</p>
@@ -157,7 +157,7 @@ export default function MemberChangeRoleModal(props: {
<>
<div className="mb-4 sm:flex sm:items-start">
<div className="text-center sm:text-left">
<h3 className="text-emphasis !font-cal text-semibold text-xl font-medium" id="modal-title">
<h3 className="text-emphasis font-heading! text-xl" id="modal-title">
{t("change_member_role")}
</h3>
</div>
@@ -119,7 +119,7 @@ export default function EmptyScreen(props: { isFilteredView: boolean }) {
<Icon name="zap" className="dark:text-default inline-block h-10 w-10 stroke-[1.3px]" />
</div>
<div className="max-w-[420px] text-center">
<h2 className="text-semibold font-cal mt-6 text-xl dark:text-gray-300">{t("workflows")}</h2>
<h2 className="font-heading mt-6 text-xl dark:text-gray-300">{t("workflows")}</h2>
<p className="text-default line-clamp-2 mt-3 text-sm font-normal leading-6 dark:text-gray-300">
{t("no_workflows_description")}
</p>