Skip to content

Commit

Permalink
refactor(RN0.73): Remove style props not understood by RN
Browse files Browse the repository at this point in the history
  • Loading branch information
zatteo committed Oct 11, 2024
1 parent 84bc7b8 commit 71be048
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions src/screens/cozy-app/CozyAppScreen.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export const styles = StyleSheet.create({
width: '100%',
height: '100%',
zIndex: 1, // Will show up above CozyWebView,
borderRadius: 8,
boxShadow:
'0px 0px 0px 0.5px rgba(29, 33, 42, 0.12), 0px 2px 4px rgba(29, 33, 42, 0.0793047), 0px 4px 16px rgba(29, 33, 42, 0.06)'
borderRadius: 8
},
mainView: {
flex: 1, // Allows full height for loading animation
Expand Down
2 changes: 0 additions & 2 deletions src/ui/Button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ export const styles = (colors: CozyThemeColors): ButtonStyles =>
borderWidth: 1
},
disabled_primary: {
boxShadow: 'none',
color: colors.actionColorDisabled,
backgroundColor: colors.actionColorDisabledBackground
},
disabled_secondary: {
boxShadow: 'none',
color: colors.actionColorDisabled,
backgroundColor: 'transparent'
}
Expand Down
3 changes: 0 additions & 3 deletions src/ui/CozyDialogs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ export const styles = StyleSheet.create({
alignSelf: 'center',
backgroundColor: colors.paperBackgroundColor,
borderRadius: 8,
boxShadow:
'0px 0px 0px 0.5px rgba(29, 33, 42, 0.12), 0px 8px 12px -5px rgba(29, 33, 42, 0.18), 0px 9px 36px 5px rgba(29, 33, 42, 0.17)',
justifyself: 'center',
width: '100%'
},
dialogContainer: {
Expand Down

0 comments on commit 71be048

Please sign in to comment.