From 6828a35b5dfbf6fe9e669ec8e82e79bf77db80ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Henriques?= Date: Fri, 26 Jul 2024 20:13:36 +0100 Subject: [PATCH] Fix bold and italic markdown not being applied to links --- src/styles/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/styles/index.ts b/src/styles/index.ts index 24da2ae9b3f3..5e85d95e92b0 100644 --- a/src/styles/index.ts +++ b/src/styles/index.ts @@ -115,7 +115,8 @@ const link = (theme: ThemeColors) => ({ color: theme.link, textDecorationColor: theme.link, - ...FontUtils.fontFamily.platform.EXP_NEUE, + // We set fontFamily directly in order to avoid overriding fontWeight and fontStyle. + fontFamily: FontUtils.fontFamily.platform.EXP_NEUE.fontFamily, } satisfies ViewStyle & MixedStyleDeclaration); const baseCodeTagStyles = (theme: ThemeColors) =>