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 textAreaTheme = {
|
2020-01-28 20:07:21 +01:00
|
|
|
'.underline': {
|
2019-06-25 22:20:24 +02:00
|
|
|
borderBottomWidth: variables.borderWidth,
|
|
|
|
marginTop: 5,
|
|
|
|
borderColor: variables.inputBorderColor
|
|
|
|
},
|
2020-01-28 20:07:21 +01:00
|
|
|
'.bordered': {
|
2019-06-25 22:20:24 +02:00
|
|
|
borderWidth: 1,
|
|
|
|
marginTop: 5,
|
|
|
|
borderColor: variables.inputBorderColor
|
|
|
|
},
|
|
|
|
color: variables.textColor,
|
|
|
|
paddingLeft: 10,
|
|
|
|
paddingRight: 5,
|
|
|
|
fontSize: 15,
|
2020-01-28 20:07:21 +01:00
|
|
|
textAlignVertical: 'top'
|
2019-06-25 22:20:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
return textAreaTheme;
|
|
|
|
};
|