19 lines
461 B
JavaScript
19 lines
461 B
JavaScript
|
// @flow
|
||
|
|
||
|
import { Platform } from "react-native";
|
||
|
|
||
|
import variable from "./../variables/platform";
|
||
|
|
||
|
export default (variables /*: * */ = variable) => {
|
||
|
const subtitleTheme = {
|
||
|
fontSize: variables.subTitleFontSize,
|
||
|
fontFamily: variables.titleFontfamily,
|
||
|
color: variables.subtitleColor,
|
||
|
textAlign: "center",
|
||
|
paddingLeft: Platform.OS === "ios" ? 4 : 0,
|
||
|
marginLeft: Platform.OS === "ios" ? undefined : -3
|
||
|
};
|
||
|
|
||
|
return subtitleTheme;
|
||
|
};
|