From a5ea9c704b5ca514e9e25cfd1c12a83998598391 Mon Sep 17 00:00:00 2001 From: Adam Jenkins Date: Tue, 11 Jun 2024 11:42:37 -0300 Subject: [PATCH] Add TODO --- src/components/general/Typography/Typography.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/general/Typography/Typography.tsx b/src/components/general/Typography/Typography.tsx index 749acd943..76a911c92 100644 --- a/src/components/general/Typography/Typography.tsx +++ b/src/components/general/Typography/Typography.tsx @@ -25,6 +25,8 @@ export interface ITextProps extends AntTextProps { size?: TypographySize } +// TODO: Replace hardcoded values in getFontSize and getLineHeight with tokens when design is ready +// These values are currently coming from https://www.figma.com/design/LffDbOUjeYqDMZ3djs9Cga/mParticle-Foundation-v1.0.1?node-id=3745-8164&m=dev const getFontSize = (size: TypographySize): number => { if (size === 'base') return 14 if (size === 'sm') return 12