blob: e2f2e015d5928341af2c715fb18e7910cc63209f (
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
|
mixin view-divider
+view('divider', 'Divider')
.c-box
+div-heading('lg')= 'Heading'
+divider('strong')
p= loremIpsum
.c-box
+div-heading('sm')= 'Heading'
+divider('medium')
p= loremIpsum
.c-box
+div-heading('xs')= 'Heading'
+divider('faint')
p= loremIpsum
.c-box
+divider('strong')= 'Strong'
+divider('medium')= 'Medium'
+divider('faint')= 'Faint'
+divider('strong')
+divider('medium')
+divider('faint')
each theme in ['accent', 'negative']
.c-box
+divider('strong')(color=theme)= 'Strong'
+divider('medium')(color=theme)= 'Medium'
+divider('faint')(color=theme)= 'Faint'
+divider('strong')(color=theme)
+divider('medium')(color=theme)
+divider('faint')(color=theme)
each theme in ['static-black', 'static-white']
-
const bg = theme.startsWith('static-black') ? 500 : 1000;
.c-box(style=`background-color: var(--colors--blue-static--${bg});`)
+divider('strong')(color=theme)= 'Strong'
+divider('medium')(color=theme)= 'Medium'
+divider('faint')(color=theme)= 'Faint'
+divider('strong')(color=theme)
+divider('medium')(color=theme)
+divider('faint')(color=theme)
|