application-amicale/native-base-theme/components/Text.js

18 lines
358 B
JavaScript
Raw Normal View History

2019-06-25 22:20:24 +02:00
// @flow
2020-01-28 20:07:21 +01:00
import variable from './../variables/platform';
2019-06-25 22:20:24 +02:00
2020-01-28 20:07:21 +01:00
export default (variables /* : * */ = variable) => {
2019-06-25 22:20:24 +02:00
const textTheme = {
fontSize: variables.DefaultFontSize,
fontFamily: variables.fontFamily,
color: variables.textColor,
2020-01-28 20:07:21 +01:00
'.note': {
color: '#a7a7a7',
2019-06-25 22:20:24 +02:00
fontSize: variables.noteFontSize
}
};
return textTheme;
};