fix: font bold font semibold (#13939)

* Fixed issue#13879 changed font-bold to font-semibold with font-cal

* Revert yarn.lock changes

---------

Co-authored-by: Carina Wollendorfer <[email protected]>
This commit is contained in:
Yash RajandCarina Wollendorfer authored and GitHub committed 2024-03-01 06:53:16 -03:00
1 parent 91beeeb525
commit 83fe4d6625
6 files changed
+6 -4

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ const calFont = localFont({
variable: "--font-cal", variable: "--font-cal",
preload: true, preload: true,
display: "block", display: "block",
weight: "600",
}); });
export const generateMetadata = () => export const generateMetadata = () =>
+1
View File
@@ -24,6 +24,7 @@ const calFont = localFont({
variable: "--font-cal", variable: "--font-cal",
preload: true, preload: true,
display: "swap", display: "swap",
weight: "600",
}); });
function PageWrapper(props: AppProps) { function PageWrapper(props: AppProps) {
@@ -151,7 +151,7 @@ function RoutingForm({ form, profile, ...restProps }: Props) {
<form onSubmit={handleOnSubmit}> <form onSubmit={handleOnSubmit}>
<div className="mb-8"> <div className="mb-8">
<h1 className="font-cal text-emphasis mb-1 text-xl font-bold tracking-wide"> <h1 className="font-cal text-emphasis mb-1 text-xl font-semibold tracking-wide">
{form.name} {form.name}
</h1> </h1>
{form.description ? ( {form.description ? (
+1 -1
View File
@@ -97,7 +97,7 @@ const ChooseEmbedTypesDialogContent = ({ types }: { types: EmbedTypes }) => {
return ( return (
<DialogContent className="rounded-lg p-10" type="creation" size="lg"> <DialogContent className="rounded-lg p-10" type="creation" size="lg">
<div className="mb-2"> <div className="mb-2">
<h3 className="font-cal text-emphasis mb-2 text-2xl font-bold leading-none" id="modal-title"> <h3 className="font-cal text-emphasis mb-2 text-2xl font-semibold leading-none" id="modal-title">
{t("how_you_want_add_cal_site", { appName: APP_NAME })} {t("how_you_want_add_cal_site", { appName: APP_NAME })}
</h3> </h3>
<div> <div>
@@ -704,7 +704,7 @@ export function ShellHeader() {
)} )}
<div> <div>
{meta.title && isLocaleReady ? ( {meta.title && isLocaleReady ? (
<h1 className="font-cal text-emphasis mb-1 text-xl font-bold leading-5 tracking-wide"> <h1 className="font-cal text-emphasis mb-1 text-xl font-semibold leading-5 tracking-wide">
{t(meta.title)} {t(meta.title)}
</h1> </h1>
) : ( ) : (
@@ -703,7 +703,7 @@ export function ShellHeader() {
)} )}
<div> <div>
{meta.title && isLocaleReady ? ( {meta.title && isLocaleReady ? (
<h1 className="font-cal text-emphasis mb-1 text-xl font-bold leading-5 tracking-wide"> <h1 className="font-cal text-emphasis mb-1 text-xl font-semibold leading-5 tracking-wide">
{t(meta.title)} {t(meta.title)}
</h1> </h1>
) : ( ) : (