summaryrefslogtreecommitdiffhomepage
path: root/app/components/HeaderBarStyles.js
blob: 5e80f4f635a5d98d0feee6134a0cde1f4cd4b26e (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
67
68
69
// @flow
import { Styles } from 'reactxp';

const styles = {
  headerbar:
  Styles.createViewStyle({
    paddingTop: 12,
    paddingBottom: 12,
    paddingLeft: 12,
    paddingRight: 12,
    backgroundColor: '#294D73',
    flexDirection: 'row',
    justifyContent: 'space-between',
    alignItems: 'center',
  }),
  headerbar__hidden:
  Styles.createViewStyle({
    paddingTop: 24,
    paddingBottom: 0,
    paddingLeft: 0,
    paddingRight: 0,
  }),
  headerbar__darwin: Styles.createViewStyle({
    paddingTop: 24,
  }),
  headerbar__style_defaultDark:
  Styles.createViewStyle({
    backgroundColor: '#192E45',
  }),
  headerbar__style_error:
  Styles.createViewStyle({
    backgroundColor: '#D0021B',
  }),
  headerbar__style_success:
  Styles.createViewStyle({
    backgroundColor: '#44AD4D',
  }),
  headerbar__container:
  Styles.createViewStyle({
    display: 'flex',
    flexDirection: 'row',
    alignItems: 'center',
  }),
  headerbar__title:
  Styles.createTextStyle({
    fontFamily: 'DINPro',
    fontSize: 24,
    fontWeight: '900',
    lineHeight: 30,
    letterSpacing: -0.5,
    color: 'rgba(255,255,255,0.6)',
    marginLeft: 8,
  }),
  headerbar__logo:
  Styles.createViewStyle({
    height: 50,
    width: 50,
  }),
  headerbar__settings:
  Styles.createViewStyle({
    width: 24,
    height: 24,
    backgroundColor: 'transparent',
    marginLeft: -6, //Because of button.css, when removed remove this
    marginTop: -1, //Because of button.css, when removed remove this
  })
};

module.exports = styles;