summaryrefslogtreecommitdiffhomepage
path: root/app/components/SettingsStyles.js
blob: 6063a5a5677f61071c74e7ddcc7a965652131646 (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
61
62
63
64
65
66
import { createViewStyles, createTextStyles } from '../lib/styles';
import { colors } from '../config';

export default Object.assign(
  createViewStyles({
    settings: {
      backgroundColor: colors.darkBlue,
      flex: 1,
    },
    settings__container: {
      flexDirection: 'column',
      flex: 1,
    },
    settings__header: {
      flexGrow: 0,
      flexShrink: 0,
      flexBasis: 'auto',
      paddingTop: 16,
      paddingRight: 24,
      paddingLeft: 24,
      paddingBottom: 16,
    },
    settings__content: {
      flexDirection: 'column',
      flex: 1,
      justifyContent: 'space-between',
      overflow: 'visible',
    },
    settings__scrollview: {
      flexGrow: 1,
      flexShrink: 1,
      flexBasis: '100%',
    },
    settings__close: {
      marginLeft: 12,
      marginTop: 24,
      cursor: 'default',
    },
    settings__close_icon: {
      width: 24,
      height: 24,
      flex: 0,
      opacity: 0.6,
    },
    settings__cell_spacer: {
      height: 24,
      flex: 0,
    },
    settings__footer: {
      paddingTop: 16,
      paddingBottom: 16,
    },
  }),
  createTextStyles({
    settings__title: {
      fontFamily: 'DINPro',
      fontSize: 32,
      fontWeight: '900',
      lineHeight: 40,
      color: colors.white,
    },
    settings__account_paid_until_label__error: {
      color: colors.red,
    },
  }),
);