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 <30310907+CarinaWolli@users.noreply.github.com>
This commit is contained in:
Yash Raj
2024-03-01 06:53:16 -03:00
committed by GitHub
co-authored by Carina Wollendorfer
parent 91beeeb525
commit 83fe4d6625
6 changed files with 6 additions and 4 deletions
+1
View File
@@ -18,6 +18,7 @@ const calFont = localFont({
variable: "--font-cal",
preload: true,
display: "block",
weight: "600",
});
export const generateMetadata = () =>
+1
View File
@@ -24,6 +24,7 @@ const calFont = localFont({
variable: "--font-cal",
preload: true,
display: "swap",
weight: "600",
});
function PageWrapper(props: AppProps) {
@@ -151,7 +151,7 @@ function RoutingForm({ form, profile, ...restProps }: Props) {
<form onSubmit={handleOnSubmit}>
<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}
</h1>
{form.description ? (
+1 -1
View File
@@ -97,7 +97,7 @@ const ChooseEmbedTypesDialogContent = ({ types }: { types: EmbedTypes }) => {
return (
<DialogContent className="rounded-lg p-10" type="creation" size="lg">
<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 })}
</h3>
<div>
@@ -704,7 +704,7 @@ export function ShellHeader() {
)}
<div>
{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)}
</h1>
) : (
@@ -703,7 +703,7 @@ export function ShellHeader() {
)}
<div>
{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)}
</h1>
) : (