2018-09-08 17:16:52 +03:00
|
|
|
import { Navigation } from "react-native-navigation";
|
|
|
|
import { registerScreens } from "./screens";
|
2018-09-25 22:02:10 +03:00
|
|
|
import { StatusBar, Dimensions } from "react-native";
|
|
|
|
|
|
|
|
// STYLE
|
|
|
|
import EStyleSheet from "react-native-extended-stylesheet";
|
|
|
|
|
|
|
|
EStyleSheet.build({
|
2018-10-01 19:17:28 +03:00
|
|
|
// Primary Colors
|
|
|
|
$white: "#FFFFFF",
|
|
|
|
$black: "#000000",
|
|
|
|
$primaryBlue: "#357ce6",
|
|
|
|
$primaryGray: "#788187",
|
|
|
|
$primaryLightGray: "#f6f6f6",
|
|
|
|
$primaryRed: "#e63535",
|
2018-09-25 22:02:10 +03:00
|
|
|
|
2018-10-01 19:17:28 +03:00
|
|
|
// General Colors
|
|
|
|
$borderColor: "#ffff",
|
|
|
|
$bubblesBlue: "#5CCDFF",
|
|
|
|
$iconColor: "#c1c5c7",
|
|
|
|
$dangerColor: "#fff",
|
|
|
|
$warningColor: "#fff",
|
|
|
|
$successColor: "#fff",
|
|
|
|
$disableButton: "#fff",
|
|
|
|
$shadowColor: "#fff",
|
|
|
|
$disableGray: "#fff",
|
2018-09-25 22:02:10 +03:00
|
|
|
|
2018-10-01 19:17:28 +03:00
|
|
|
// Devices Sizes
|
|
|
|
$deviceHeight: Dimensions.get("window").height,
|
|
|
|
$deviceWidth: Dimensions.get("window").width,
|
2018-09-25 22:02:10 +03:00
|
|
|
|
2018-10-01 19:17:28 +03:00
|
|
|
// Fonts Properties
|
|
|
|
$primaryFont: "Roboto",
|
|
|
|
$primaryLatterSpacing: 0,
|
2018-09-25 22:02:10 +03:00
|
|
|
});
|
2018-09-03 13:49:54 +03:00
|
|
|
|
2018-09-08 17:16:52 +03:00
|
|
|
registerScreens();
|
|
|
|
|
|
|
|
Navigation.events().registerAppLaunchedListener(() => {
|
2018-10-01 19:17:28 +03:00
|
|
|
Navigation.setRoot({
|
|
|
|
root: {
|
|
|
|
component: {
|
|
|
|
name: "navigation.eSteem.Splash",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
2018-09-08 17:16:52 +03:00
|
|
|
});
|