From 00d40708ea2e0a116830bc32d242daacaf80f0e0 Mon Sep 17 00:00:00 2001 From: Malav Shah Date: Sun, 20 Oct 2024 00:50:04 +0530 Subject: [PATCH] fix: Dropdown font broken --- packages/core/src/components/Dropdown/Dropdown.styles.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/Dropdown/Dropdown.styles.js b/packages/core/src/components/Dropdown/Dropdown.styles.js index cf6532c969..a4b233a2a0 100644 --- a/packages/core/src/components/Dropdown/Dropdown.styles.js +++ b/packages/core/src/components/Dropdown/Dropdown.styles.js @@ -39,7 +39,11 @@ const getColor = () => { return { color, backgroundColor }; }; -const getFont = size => ({ fontSize: getSingleValueTextSize(size), lineHeight: getSingleValueTextSize(size) }); +const getFont = size => ({ + fontSize: getSingleValueTextSize(size), + lineHeight: getSingleValueTextSize(size), + fontFamily: getCSSVar("font-family") +}); const disabledContainerStyle = isDisabled => { if (!isDisabled) return {};