Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Page/styles"

Index

Variables

height

height: number

Const portrait

portrait: boolean = height > width

Const styles

styles: object = StyleSheet.create({container: {// alignItems: 'center',flex: 1,flexDirection: 'column',// justifyContent: portrait ? 'center' : 'flex-start',// paddingTop: portrait ? 0 : 10,},backgroundImage: {left: 0,position: 'absolute',top: 0,},contentPage: {// alignItems: 'center',flex: 1,flexDirection: 'column',// justifyContent: portrait ? 'center' : 'flex-start',paddingTop: 60,},headerContainer: {alignItems: 'center',flex: 0,justifyContent: 'center',marginBottom: 24,width: '100%',},bodyPage: {alignItems: 'center',flex: 1,flexDirection: 'column',justifyContent: 'center',marginBottom: 60,},imageContainer: {alignItems: 'center',flex: 0,paddingBottom: portrait ? 60 : 10,width: '100%',},padding: {paddingHorizontal: 10,},subtitle: {color: 'rgba(255, 255, 255, 0.7)',fontSize: 16,textAlign: 'center',},subtitleLight: {color: 'rgba(0, 0, 0, 0.7)',},title: {color: '#fff',fontSize: 26,paddingBottom: 15,textAlign: 'center',},titleLight: {color: '#000',},})

Type declaration

  • backgroundImage: object
    • left: number
    • position: "absolute"
    • top: number
  • bodyPage: object
    • alignItems: "center"
    • flex: number
    • flexDirection: "column"
    • justifyContent: "center"
    • marginBottom: number
  • container: object
    • flex: number
    • flexDirection: "column"
  • contentPage: object
    • flex: number
    • flexDirection: "column"
    • paddingTop: number
  • headerContainer: object
    • alignItems: "center"
    • flex: number
    • justifyContent: "center"
    • marginBottom: number
    • width: string
  • imageContainer: object
    • alignItems: "center"
    • flex: number
    • paddingBottom: number
    • width: string
  • padding: object
    • paddingHorizontal: number
  • subtitle: object
    • color: string
    • fontSize: number
    • textAlign: "center"
  • subtitleLight: object
    • color: string
  • title: object
    • color: string
    • fontSize: number
    • paddingBottom: number
    • textAlign: "center"
  • titleLight: object
    • color: string

width

width: number

Generated using TypeDoc