summaryrefslogtreecommitdiff
path: root/frontend/app/components/avatar/types.js
blob: 2d732d893638252ab100380e12441ece3fa0aef2 (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
export const AvatarTypes = () => ({
  _base: {
    container: {
      alignItems: 'center',
      flexDirection: 'row',
    },
    image: {
      width: 40,
      height: 40,
    },
    badge: {
      width: 15,
      height: 15,
      borderRadius: 7.5,
      alignItems: 'center',
      justifyContent: 'center',
      position: 'absolute',
      bottom: -2,
      right: -2,
    },
    badgeText: {
      backgroundColor: 'transparent',
      fontSize: 9,
    },
  },
  big: {
    image: {
      width: 110,
      height: 110,
      borderRadius: 55,
      marginBottom: 19,
    },
    container: {
      flexDirection: 'column',
    },
  },
  small: {
    image: {
      width: 32,
      height: 32,
      borderRadius: 16,
    },
  },
  circle: {
    image: {
      borderRadius: 20,
    },
  },
});