Skip to content

Commit

Permalink
Merge pull request Expensify#34005 from aswin-s/fix/issue-31785
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisl authored Jan 5, 2024
2 parents ae4245e + e261836 commit f5a3c02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/TabSelector/TabLabel.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import {Animated, StyleSheet, Text, View} from 'react-native';
import {Animated, StyleSheet, View} from 'react-native';
import Text from '@components/Text';
import useThemeStyles from '@hooks/useThemeStyles';

type TabLabelProps = {
Expand Down
3 changes: 2 additions & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3708,7 +3708,8 @@ const styles = (theme: ThemeColors) =>
fontFamily: isSelected ? FontUtils.fontFamily.platform.EXP_NEUE_BOLD : FontUtils.fontFamily.platform.EXP_NEUE,
fontWeight: isSelected ? FontUtils.fontWeight.bold : '400',
color: isSelected ? theme.text : theme.textSupporting,
lineHeight: 14,
lineHeight: variables.lineHeightNormal,
fontSize: variables.fontSizeNormal,
} satisfies TextStyle),

tabBackground: (hovered: boolean, isFocused: boolean, background: string | Animated.AnimatedInterpolation<string>) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default {
signInLogoWidthLargeScreen: 144,
signInLogoHeightLargeScreen: 108,
signInLogoWidthPill: 132,
tabSelectorButtonHeight: 40,
tabSelectorButtonHeight: 42,
tabSelectorButtonPadding: 12,
lhnLogoWidth: 95.09,
lhnLogoHeight: 22.33,
Expand Down

0 comments on commit f5a3c02

Please sign in to comment.