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

export default {
  ...createViewStyles({
    headerbar: {
      paddingTop: 12,
      paddingBottom: 12,
      paddingLeft: 12,
      paddingRight: 12,
      backgroundColor: colors.blue,
      flexDirection: 'row',
      justifyContent: 'space-between',
      alignItems: 'center',
    },
    hidden: {
      paddingTop: 24,
      paddingBottom: 0,
      paddingLeft: 0,
      paddingRight: 0,
    },
    style_defaultDark: {
      backgroundColor: colors.darkBlue,
    },
    style_error: {
      backgroundColor: colors.red,
    },
    style_success: {
      backgroundColor: colors.green,
    },
    container: {
      display: 'flex',
      flexDirection: 'row',
      alignItems: 'center',
    },
    settings: {
      padding: 0,
    },
    settings_icon: {
      color: colors.white60,
    },
    settings_icon_hover: {
      color: colors.white,
    },
  }),
  ...createTextStyles({
    title: {
      fontFamily: 'DINPro',
      fontSize: 24,
      fontWeight: '900',
      lineHeight: 30,
      letterSpacing: -0.5,
      color: colors.white60,
      marginLeft: 8,
    },
  }),
};