Skip to content

Commit 04cd821

Browse files
authored
Remove font weights from Cal Sans text (#2158)
1 parent 7f27064 commit 04cd821

File tree

8 files changed

+11
-17
lines changed

8 files changed

+11
-17
lines changed

apps/web/components/ImageUploader.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default function ImageUploader({
119119
<DialogContent>
120120
<div className="mb-4 sm:flex sm:items-start">
121121
<div className="mt-3 text-center sm:mt-0 sm:text-left">
122-
<h3 className="font-cal text-lg font-bold leading-6 text-gray-900" id="modal-title">
122+
<h3 className="font-cal text-lg leading-6 text-gray-900" id="modal-title">
123123
{t("upload_target", { target })}
124124
</h3>
125125
</div>

apps/web/components/Shell.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export default function Shell(props: {
248248
</nav>
249249
</div>
250250
<TrialBanner />
251-
<div className="rounded-sm pb-2 pl-3 pt-2 pr-2 hover:bg-gray-100 lg:mx-2 lg:pl-2">
251+
<div className="rounded-sm pt-2 pb-2 pl-3 pr-2 hover:bg-gray-100 lg:mx-2 lg:pl-2">
252252
<span className="hidden lg:inline">
253253
<UserDropdown />
254254
</span>
@@ -309,9 +309,7 @@ export default function Shell(props: {
309309
<div className="block min-h-[80px] justify-between px-4 sm:flex sm:px-6 md:px-8">
310310
{props.HeadingLeftIcon && <div className="ltr:mr-4">{props.HeadingLeftIcon}</div>}
311311
<div className="mb-8 w-full">
312-
<h1 className="font-cal mb-1 text-xl font-bold tracking-wide text-gray-900">
313-
{props.heading}
314-
</h1>
312+
<h1 className="font-cal mb-1 text-xl text-gray-900">{props.heading}</h1>
315313
<p className="text-sm text-neutral-500 ltr:mr-4 rtl:ml-4">{props.subtitle}</p>
316314
</div>
317315
<div className="mb-4 flex-shrink-0">{props.CTA}</div>

apps/web/components/dialog/ConfirmationDialogContent.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ export default function ConfirmationDialogContent(props: PropsWithChildren<Confi
5252
</div>
5353
)}
5454
<div>
55-
<DialogPrimitive.Title className="font-cal text-xl font-bold text-gray-900">
56-
{title}
57-
</DialogPrimitive.Title>
55+
<DialogPrimitive.Title className="font-cal text-xl text-gray-900">{title}</DialogPrimitive.Title>
5856
<DialogPrimitive.Description className="text-sm text-neutral-500">
5957
{children}
6058
</DialogPrimitive.Description>

apps/web/components/ui/AuthContainer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function AuthContainer(props: React.PropsWithChildren<Props>) {
2121
<img className="mx-auto h-6" src="/calendso-logo-white-word.svg" alt="Cal.com Logo" />
2222
)}
2323
{props.heading && (
24-
<h2 className="font-cal mt-6 text-center text-3xl font-bold text-neutral-900">{props.heading}</h2>
24+
<h2 className="font-cal mt-6 text-center text-3xl text-neutral-900">{props.heading}</h2>
2525
)}
2626
</div>
2727
{props.loading && (

apps/web/components/ui/Text/Headline/Headline.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from "react";
44
import { TextProps } from "../Text";
55

66
const Headline: React.FunctionComponent<TextProps> = (props: TextProps) => {
7-
const classes = classnames("font-cal text-xl font-bold text-gray-900 dark:text-white", props?.className);
7+
const classes = classnames("font-cal text-xl text-gray-900 dark:text-white", props?.className);
88

99
return <p className={classes}>{props?.text || props.children}</p>;
1010
};

apps/web/pages/[user].tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function User(props: inferSSRProps<typeof getServerSideProps>) {
4949
<main className="mx-auto max-w-3xl px-4 py-24">
5050
<div className="mb-8 text-center">
5151
<AvatarSSR user={user} className="mx-auto mb-4 h-24 w-24" alt={nameOrUsername}></AvatarSSR>
52-
<h1 className="font-cal mb-1 text-3xl font-bold text-neutral-900 dark:text-white">
52+
<h1 className="font-cal mb-1 text-3xl text-neutral-900 dark:text-white">
5353
{nameOrUsername}
5454
{user.verified && (
5555
<BadgeCheckIcon className="mx-1 -mt-1 inline h-6 w-6 text-blue-500 dark:text-white" />
@@ -61,7 +61,7 @@ export default function User(props: inferSSRProps<typeof getServerSideProps>) {
6161
{user.away ? (
6262
<div className="overflow-hidden rounded-sm border dark:border-gray-900">
6363
<div className="p-8 text-center text-gray-400 dark:text-white">
64-
<h2 className="font-cal mb-2 text-3xl font-semibold text-gray-600 dark:text-white">
64+
<h2 className="font-cal mb-2 text-3xl text-gray-600 dark:text-white">
6565
😴{" " + t("user_away")}
6666
</h2>
6767
<p className="mx-auto max-w-md">{t("user_away_description")}</p>
@@ -116,9 +116,7 @@ export default function User(props: inferSSRProps<typeof getServerSideProps>) {
116116
{eventTypes.length === 0 && (
117117
<div className="overflow-hidden rounded-sm border dark:border-gray-900">
118118
<div className="p-8 text-center text-gray-400 dark:text-white">
119-
<h2 className="font-cal mb-2 text-3xl font-semibold text-gray-600 dark:text-white">
120-
{t("uh_oh")}
121-
</h2>
119+
<h2 className="font-cal mb-2 text-3xl text-gray-600 dark:text-white">{t("uh_oh")}</h2>
122120
<p className="mx-auto max-w-md">{t("no_event_types_have_been_setup")}</p>
123121
</div>
124122
</div>

apps/web/pages/settings/profile.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function HideBrandingInput(props: { hideBrandingRef: RefObject<HTMLInputElement>
6767
</div>
6868
<div className="mb-4 sm:flex sm:items-start">
6969
<div className="mt-3 sm:mt-0 sm:text-left">
70-
<h3 className="font-cal text-lg font-bold leading-6 text-gray-900" id="modal-title">
70+
<h3 className="font-cal text-lg leading-6 text-gray-900" id="modal-title">
7171
{t("only_available_on_pro_plan")}
7272
</h3>
7373
</div>

apps/web/pages/settings/teams/[id]/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export function TeamSettingsPage() {
120120
)}
121121
</div>
122122
<div className="mb-3 mt-7 flex items-center justify-between">
123-
<h3 className="font-cal text-xl font-bold leading-6 text-gray-900">{t("members")}</h3>
123+
<h3 className="font-cal text-xl leading-6 text-gray-900">{t("members")}</h3>
124124
{isAdmin && (
125125
<div className="relative flex items-center">
126126
<Button

0 commit comments

Comments
 (0)