summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/WireguardKeysStyles.tsx
blob: a1aebdedf27f9b63fe83fd4b8deb98c35956088a (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
import { Styles } from 'reactxp';
import { colors } from '../../config.json';

export default {
  wgkeys: Styles.createViewStyle({
    backgroundColor: colors.darkBlue,
    flex: 1,
  }),
  wgkeys__container: Styles.createViewStyle({
    flexDirection: 'column',
    flex: 1,
  }),
  wgkeys__row: Styles.createViewStyle({
    paddingTop: 0,
    paddingBottom: 0,
    paddingLeft: 24,
    paddingRight: 24,
    marginBottom: 24,
  }),
  wgkeys__row_label: Styles.createTextStyle({
    flex: 1,
    fontFamily: 'Open Sans',
    fontSize: 13,
    fontWeight: '600',
    lineHeight: 20,
    letterSpacing: -0.2,
    color: colors.white60,
    marginBottom: 9,
  }),
  wgkeys__validity_row: Styles.createViewStyle({
    flexDirection: 'row',
  }),
  wgkeys__row_value: Styles.createTextStyle({
    fontFamily: 'Open Sans',
    fontSize: 16,
    lineHeight: 19,
    fontWeight: '800',
    color: colors.white,
  }),
  wgkeys__invalid_key: Styles.createTextStyle({
    fontFamily: 'Open Sans',
    fontSize: 13,
    fontWeight: '800',
    lineHeight: 20,
    color: colors.red,
  }),
  wgkeys__valid_key: Styles.createTextStyle({
    fontFamily: 'Open Sans',
    fontSize: 13,
    fontWeight: '600',
    lineHeight: 20,
    color: colors.green,
  }),
};