2018-08-24 12:10:30 +02:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
import Colors from './colors';
|
|
|
|
|
|
|
|
const floatingButtonStyle = StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
position: 'absolute',
|
|
|
|
zIndex: 100,
|
|
|
|
borderRadius: 24,
|
|
|
|
padding: 14,
|
|
|
|
paddingLeft: 20,
|
|
|
|
paddingRight: 20,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center',
|
|
|
|
backgroundColor: Colors.BrighterLbryGreen,
|
|
|
|
shadowColor: 'black',
|
|
|
|
shadowOpacity: 0.1,
|
|
|
|
shadowRadius: StyleSheet.hairlineWidth,
|
|
|
|
shadowOffset: {
|
|
|
|
height: StyleSheet.hairlineWidth,
|
|
|
|
},
|
|
|
|
elevation: 4
|
|
|
|
},
|
|
|
|
text: {
|
|
|
|
color: Colors.White,
|
2018-12-11 21:06:42 +01:00
|
|
|
fontFamily: 'Inter-UI-Bold',
|
2018-08-24 12:10:30 +02:00
|
|
|
fontSize: 18,
|
|
|
|
},
|
|
|
|
bottomRight: {
|
|
|
|
right: 10,
|
2019-03-01 19:25:16 +01:00
|
|
|
bottom: 10
|
2018-08-24 12:10:30 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default floatingButtonStyle;
|