diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-29 16:29:06 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-29 16:29:06 -0400 |
commit | 5fcffd40746b2074d523f53dc82c824d147444e5 (patch) | |
tree | 5bbb93a56454778996a543a567cc0d8d9d60d11e /src/components/camera/styles.tsx | |
parent | f273a7aa1c2e27692c2a03ae1e2fc9b81360558d (diff) |
Refactor buttons
Diffstat (limited to 'src/components/camera/styles.tsx')
-rw-r--r-- | src/components/camera/styles.tsx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/components/camera/styles.tsx b/src/components/camera/styles.tsx new file mode 100644 index 00000000..e810ffda --- /dev/null +++ b/src/components/camera/styles.tsx @@ -0,0 +1,37 @@ +import {StyleSheet} from 'react-native'; +import {normalize, SCREEN_WIDTH} from '../../utils/layouts'; + +export const styles = StyleSheet.create({ + saveButton: { + zIndex: 1, + flexDirection: 'column', + justifyContent: 'center', + alignItems: 'center', + width: (SCREEN_WIDTH - 100) / 2, + }, + saveButtonLabel: { + color: 'white', + fontWeight: '700', + fontSize: normalize(12), + lineHeight: normalize(14.32), + marginTop: 5, + zIndex: 999, + }, + flashButtonContainer: { + position: 'absolute', + backgroundColor: '#808080', + opacity: 0.25, + zIndex: 1, + top: normalize(50), + right: 0, + marginRight: normalize(18), + height: 86, + width: 49, + flexDirection: 'column', + justifyContent: 'center', + alignItems: 'center', + borderRadius: 30, + }, + galleryIcon: {borderWidth: 2, borderColor: 'white', borderRadius: 5}, + flashIcon: {zIndex: 2}, +}); |