From 8aa4997471aebf616e503220aea8abd30bed8ad0 Mon Sep 17 00:00:00 2001 From: Scott Cooper Date: Fri, 29 Mar 2024 13:03:28 -0700 Subject: [PATCH] ref(ui): Change font sizes to constants (#67960) --- static/app/utils/theme.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/static/app/utils/theme.tsx b/static/app/utils/theme.tsx index 3d959666899b68..feb36759568661 100644 --- a/static/app/utils/theme.tsx +++ b/static/app/utils/theme.tsx @@ -760,13 +760,13 @@ const commonTheme = { // Relative font sizes fontSizeRelativeSmall: '0.9em', - fontSizeExtraSmall: '11px', - fontSizeSmall: '12px', - fontSizeMedium: '14px', - fontSizeLarge: '16px', - fontSizeExtraLarge: '18px', - codeFontSize: '13px', - headerFontSize: '22px', + fontSizeExtraSmall: '11px' as const, + fontSizeSmall: '12px' as const, + fontSizeMedium: '14px' as const, + fontSizeLarge: '16px' as const, + fontSizeExtraLarge: '18px' as const, + codeFontSize: '13px' as const, + headerFontSize: '22px' as const, settings: { // Max-width for settings breadcrumbs