aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/spellchecker/styles.js
blob: 097368d9a6df91735a87c59a7a8c3abb5d8b4cdd (plain) (blame)
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
export default (theme) => {
  console.log(theme);
  return ({
    container: {
      background: theme.colorBackground,
      position: 'absolute',
      top: 0,
      width: '100%',
      display: 'flex',
      'flex-direction': 'column',
      'align-items': 'center',
      'justify-content': 'center',
      'z-index': 150,
    },
    headline: {
      color: theme.colorHeadline,
      margin: [25, 0, 40],
      'max-width': 500,
      'text-align': 'center',
      'line-height': '1.3em',
    },
    button: {
      margin: [40, 0, 20],
    },
  });
};