PageRenderTime 25ms CodeModel.GetById 16ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/src/styles/textInput.js

https://bitbucket.org/LorenK/sdconnect
JavaScript | 42 lines | 41 code | 1 blank | 0 comment | 0 complexity | c4f263f71d5c308edc8621fd2368f393 MD5 | raw file
 1import { StyleSheet } from 'react-native'
 2import colors from '../constants/colors'
 3import fonts from '../constants/fonts'
 4
 5const padding = 12
 6export default StyleSheet.create({
 7    baseInput: {
 8        backgroundColor: colors.textPrimary,
 9        borderColor: colors.secondary,
10        borderWidth: 2,
11        color: colors.primary,
12        margin: 0,
13        paddingLeft: padding,
14        paddingRight: padding,
15        paddingTop: padding - 4,
16        paddingBottom: padding - 4
17    },
18    baseInputFocused: {
19        backgroundColor: colors.textPrimary,
20        borderColor: colors.primary,
21        borderWidth: 2,
22        color: colors.primary,
23        margin: 0,
24        paddingLeft: padding,
25        paddingRight: padding,
26        paddingTop: padding - 4,
27        paddingBottom: padding - 4
28    },
29    label: {
30        color: colors.primary,
31        paddingBottom: 2
32    },
33    clearInput: {
34        backgroundColor: colors.textPrimary,
35        color: colors.primary,
36        margin: 0,
37        paddingLeft: padding,
38        paddingRight: padding,
39        paddingTop: padding - 4,
40        paddingBottom: padding - 4
41    }
42})