123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- // @flow
-
- import variable from "./../variables/platform";
-
- export default (variables /*: * */ = variable) => {
- const platform = variables.platform;
-
- const theme = {
- "NativeBase.Item": {
- ".fixedLabel": {
- "NativeBase.Label": {
- paddingLeft: null
- },
- marginLeft: 15
- },
- ".inlineLabel": {
- "NativeBase.Label": {
- paddingLeft: null
- },
- marginLeft: 15
- },
- ".placeholderLabel": {
- "NativeBase.Input": {}
- },
- ".stackedLabel": {
- "NativeBase.Label": {
- top: 5,
- paddingLeft: null
- },
- "NativeBase.Input": {
- paddingLeft: null,
- marginLeft: null
- },
- "NativeBase.Icon": {
- marginTop: 36
- },
- marginLeft: 15
- },
- ".floatingLabel": {
- "NativeBase.Input": {
- paddingLeft: null,
- top: 10,
- marginLeft: null
- },
- "NativeBase.Label": {
- left: 0,
- top: 6
- },
- "NativeBase.Icon": {
- top: 6
- },
- marginTop: 15,
- marginLeft: 15
- },
- ".regular": {
- "NativeBase.Label": {
- left: 0
- },
- marginLeft: 0
- },
- ".rounded": {
- "NativeBase.Label": {
- left: 0
- },
- marginLeft: 0
- },
- ".underline": {
- "NativeBase.Label": {
- left: 0,
- top: 0,
- position: "relative"
- },
- "NativeBase.Input": {
- left: -15
- },
- marginLeft: 15
- },
- ".last": {
- marginLeft: 0,
- paddingLeft: 15
- },
- "NativeBase.Label": {
- paddingRight: 5
- },
- marginLeft: 15
- }
- };
-
- return theme;
- };
|