Skip to content

Commit

Permalink
refactor: use large radius instead of circle
Browse files Browse the repository at this point in the history
  • Loading branch information
rosvik committed Jan 13, 2025
1 parent 752c199 commit 3ef758e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/bottom-sheet/AnimatedBottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const useStyles = StyleSheet.createThemeHook((theme) => ({
width: '100%',
position: 'absolute',
bottom: 0,
borderTopLeftRadius: theme.border.radius.circle,
borderTopRightRadius: theme.border.radius.circle,
borderTopLeftRadius: theme.border.radius.large,
borderTopRightRadius: theme.border.radius.large,
},
}));
2 changes: 1 addition & 1 deletion src/components/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const Button = React.forwardRef<any, ButtonProps>(
alignSelf: isInline ? 'flex-start' : undefined,
borderRadius:
type === 'small'
? theme.border.radius.circle
? theme.border.radius.large
: theme.border.radius.regular,
},
];
Expand Down
2 changes: 1 addition & 1 deletion src/components/label-info/LabelInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ const useStyles = StyleSheet.createThemeHook((theme) => ({
marginRight: theme.spacing.medium,
paddingHorizontal: theme.spacing.small,
paddingVertical: theme.spacing.xSmall,
borderRadius: theme.border.radius.circle,
borderRadius: theme.border.radius.large,
},
}));
2 changes: 1 addition & 1 deletion src/components/theme-icon/NotificationIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const useStyles = StyleSheet.createThemeHook((theme) => ({
position: 'absolute',
right: 0,
top: 0,
borderRadius: theme.border.radius.circle,
borderRadius: theme.border.radius.large,
zIndex: 10,
overflow: 'hidden',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ProductAliasChip = ({color, text, selected, onPress}: Props) => {

const useStyles = StyleSheet.createThemeHook((theme) => ({
container: {
borderRadius: theme.border.radius.circle * 2,
borderRadius: theme.border.radius.large * 2,
marginRight: theme.spacing.small,
justifyContent: 'center',
},
Expand Down

0 comments on commit 3ef758e

Please sign in to comment.