summaryrefslogtreecommitdiffhomepage
path: root/app/components/HeaderBarStyles.js
blob: c2d53a2036b3399f53fc0a0f418a1883391c3228 (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
// @flow
import { createTextStyles, createViewStyles } from '../lib/styles';

export default {
  ...createViewStyles({
    headerbar: {
      paddingTop: 12,
      paddingBottom: 12,
      paddingLeft: 12,
      paddingRight: 12,
      backgroundColor: '#294D73',
      flexDirection: 'row',
      justifyContent: 'space-between',
      alignItems: 'center',
    },
    headerbar__hidden: {
      paddingTop: 24,
      paddingBottom: 0,
      paddingLeft: 0,
      paddingRight: 0,
    },
    headerbar__darwin: {
      paddingTop: 24,
    },
    headerbar__style_defaultDark: {
      backgroundColor: '#192E45',
    },
    headerbar__style_error: {
      backgroundColor: '#D0021B',
    },
    headerbar__style_success: {
      backgroundColor: '#44AD4D',
    },
    headerbar__container: {
      display: 'flex',
      flexDirection: 'row',
      alignItems: 'center',
    },
    headerbar__logo: {
      height: 50,
      width: 50,
    },
    headerbar__settings: {
      padding: 0
    },
    headerbar__settings_icon: {
      width: 24,
      height: 24,
    },
  }),
  ...createTextStyles({
    headerbar__title: {
      fontFamily: 'DINPro',
      fontSize: 24,
      fontWeight: '900',
      lineHeight: 30,
      letterSpacing: -0.5,
      color: 'rgba(255,255,255,0.6)',
      marginLeft: 8,
    }
  })
};