blob: 79416496b2be645b0e94caa7b4a3b3fdbc8f6666 (
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
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
|
mixin view-avatar
+view('avatar', 'Avatar')
.c-box
div(style={ display: 'flex', gap: '.3em' })
+avatar(size='150' hue=180)
= 'Vo'
+avatar(size='150' hue=225)
= 'lp'
+avatar(size='150' src='avatar.png')
br
br
div(style={ display: 'flex', gap: '.3em' })
+avatar
= 'Vo'
+avatar(status='green' hue=45)
= 'lp'
+avatar(src='avatar.png')
+avatar(src='avatar.png' status='red')
br
br
div(style={ display: 'flex', gap: '.3em' })
+avatar(size='75' hue=90)
= 'eo'
+avatar(size='75' status='green' hue=135)
= 'n'
+avatar(size='75' src='avatar.png')
+avatar(size='75' src='avatar.png' status='red')
br
br
div(style={ display: 'flex', gap: '.3em' })
+avatar(size='50' hue=180)
= 'V'
+avatar(size='50' hue=225)
= 'o'
+avatar(size='50' src='avatar.png')
.c-box
div(style={ display: 'flex', gap: '.3em' })
+avatar(circle=true size='150' hue=180)
= 'Vo'
+avatar(circle=true size='150' hue=225)
= 'lp'
+avatar(circle=true size='150' src='avatar.png')
br
br
div(style={ display: 'flex', gap: '.3em' })
+avatar(circle=true)
= 'Vo'
+avatar(circle=true status='green' hue=45)
= 'lp'
+avatar(circle=true src='avatar.png')
+avatar(circle=true src='avatar.png' status='red')
br
br
div(style={ display: 'flex', gap: '.3em' })
+avatar(circle=true size='75' hue=90)
= 'eo'
+avatar(circle=true size='75' status='green' hue=135)
= 'n'
+avatar(circle=true size='75' src='avatar.png')
+avatar(circle=true size='75' src='avatar.png' status='red')
br
br
div(style={ display: 'flex', gap: '.3em' })
+avatar(circle=true size='50' hue=180)
= 'V'
+avatar(circle=true size='50' hue=225)
= 'o'
+avatar(circle=true size='50' src='avatar.png')
|