ecency-mobile/src/index.js

48 lines
1.0 KiB
JavaScript
Raw Normal View History

import { Navigation } from "react-native-navigation";
import { registerScreens } from "./screens";
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-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-10-01 19:17:28 +03:00
// Devices Sizes
$deviceHeight: Dimensions.get("window").height,
$deviceWidth: Dimensions.get("window").width,
2018-10-01 19:17:28 +03:00
// Fonts Properties
$primaryFont: "Roboto",
$primaryLatterSpacing: 0,
});
2018-09-03 13:49:54 +03:00
registerScreens();
Navigation.events().registerAppLaunchedListener(() => {
2018-10-01 19:17:28 +03:00
Navigation.setRoot({
root: {
component: {
name: "navigation.eSteem.Splash",
},
},
});
});