forked from vergnet/application-amicale
21 lines
531 B
JavaScript
21 lines
531 B
JavaScript
|
// @flow
|
||
|
|
||
|
import { Platform } from "react-native";
|
||
|
|
||
|
import variable from "./../variables/platform";
|
||
|
|
||
|
export default (variables /*: * */ = variable) => {
|
||
|
const titleTheme = {
|
||
|
fontSize: variables.titleFontSize,
|
||
|
fontFamily: variables.titleFontfamily,
|
||
|
color: variables.titleFontColor,
|
||
|
fontWeight: Platform.OS === "ios" ? "700" : undefined,
|
||
|
textAlign: "center",
|
||
|
paddingLeft: Platform.OS === "ios" ? 4 : 0,
|
||
|
marginLeft: Platform.OS === "ios" ? undefined : -3,
|
||
|
paddingTop: 1
|
||
|
};
|
||
|
|
||
|
return titleTheme;
|
||
|
};
|