Skip to content

Commit

Permalink
Merge pull request #5835 from Expensify/aldo_fix-title-font-size-19
Browse files Browse the repository at this point in the history
Use h1 (19px) style for header instead of textXLarge (24px)
  • Loading branch information
jasperhuangg authored Oct 14, 2021
2 parents 7969ee4 + b0e2bc7 commit 5c38f0c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const WorkspaceSection = ({
<View style={styles.pageWrapper}>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.w100]}>
<View style={[styles.flexShrink1]}>
<Text style={[styles.textXLarge]}>{title}</Text>
<Text style={[styles.h1]}>{title}</Text>
</View>
<View style={[styles.flexGrow1, styles.flexRow, styles.justifyContentEnd]}>
{icon && <Icon src={icon} height={80} width={80} />}
Expand Down
7 changes: 0 additions & 7 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,6 @@ const styles = {
fontSize: variables.fontSizeLarge,
},

textXLarge: {
color: themeColors.heading,
fontFamily: fontFamily.GTA_BOLD,
fontSize: variables.fontSizeXLarge,
fontWeight: fontWeightBold,
},

textXXXLarge: {
color: themeColors.heading,
fontFamily: fontFamily.GTA_BOLD,
Expand Down
1 change: 0 additions & 1 deletion src/styles/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default {
fontSizeLarge: 17,
fontSizeHero: 36,
fontSizeh1: 19,
fontSizeXLarge: 24,
fontSizeXXXLarge: 32,
fontSizeNormalHeight: 20,
lineHeightHero: 40,
Expand Down

0 comments on commit 5c38f0c

Please sign in to comment.