summaryrefslogtreecommitdiffhomepage
path: root/app/components/PreferencesStyles.js
blob: 3a39ce3c5f381cf5e66f65989c60f33fb32652b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// @flow

import { Styles } from 'reactxp';
import { colors } from '../config';

export default {
  preferences: Styles.createViewStyle({
    backgroundColor: colors.darkBlue,
    flex: 1,
  }),
  preferences__container: Styles.createViewStyle({
    display: 'flex',
    flexDirection: 'column',
    flex: 1,
  }),
  preferences__content: Styles.createViewStyle({
    flexDirection: 'column',
    flexGrow: 1,
    flexShrink: 1,
    flexBasis: 'auto',
  }),
  preferences__cell: Styles.createViewStyle({
    backgroundColor: colors.blue,
    flexDirection: 'row',
    alignItems: 'center',
  }),
  preferences__cell_accessory: Styles.createViewStyle({
    marginRight: 12,
  }),
  preferences__cell_footer: Styles.createViewStyle({
    paddingTop: 8,
    paddingRight: 24,
    paddingBottom: 24,
    paddingLeft: 24,
  }),
  preferences__cell_label_container: Styles.createViewStyle({
    paddingTop: 14,
    paddingRight: 12,
    paddingBottom: 14,
    paddingLeft: 24,
    flexGrow: 1,
  }),

  preferences__cell_label: Styles.createTextStyle({
    fontFamily: 'DINPro',
    fontSize: 20,
    fontWeight: '900',
    lineHeight: 26,
    letterSpacing: -0.2,
    color: colors.white,
  }),
  preferences__cell_footer_label: Styles.createTextStyle({
    fontFamily: 'Open Sans',
    fontSize: 13,
    fontWeight: '600',
    lineHeight: 20,
    letterSpacing: -0.2,
    color: colors.white80,
  }),
};