Skip to content

Commit

Permalink
Merge pull request #542 from lifeomic/style-bug-fixes
Browse files Browse the repository at this point in the history
Font Scaling/Dark theme fixes
  • Loading branch information
bruce-glazier committed Mar 27, 2024
2 parents aa5c336 + bced8e5 commit b191803
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/components/Messaging/SearchRecipientsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,11 @@ const defaultStyles = createStyles('SearchRecipientsModal', (theme) => {
backgroundColor: theme.colors.primary,
marginVertical: 16,
marginRight: 16,
height: 35,
alignSelf: 'center',
},
doneButtonLabel: {
color: theme.colors.onPrimary,
fontSize: 14,
lineHeight: 16,
textAlignVertical: 'center',
},
};
Expand Down
5 changes: 2 additions & 3 deletions src/components/TrackTile/TrackerDetails/TrackerDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,12 @@ export const TrackerDetails: FC<TrackerDetailsProps> = (props) => {

const defaultStyles = createStyles('TrackerDetails', (theme) => ({
imageContainer: {
width: 326,
height: 210,
width: 280,
height: 200,
},
image: {
flex: 1,
resizeMode: 'contain',
width: 200,
},
radialProgressBorderView: {},
radialProgressContainer: {
Expand Down
4 changes: 3 additions & 1 deletion src/components/TrackTile/TrackerRow/Tracker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ export function Tracker(tracker: TrackerProps) {

const size = 95;
const defaultStyles = createStyles('Tracker', (theme) => ({
trackerNameText: {},
trackerNameText: {
color: theme.colors.onSurface,
},
trackerNameDisabledText: {
color: '#7B8996',
},
Expand Down
1 change: 0 additions & 1 deletion src/screens/ComposeMessageScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ const defaultStyles = createStyles('ComposeMessageScreen', (theme) => ({
color: theme.colors.secondary,
},
searchRecipientsModalContainer: {
backgroundColor: theme.colors.elevation.level1,
height: Platform.select({ android: '90%', default: '100%' }),
width: '90%',
marginHorizontal: '5%',
Expand Down

0 comments on commit b191803

Please sign in to comment.