summaryrefslogtreecommitdiffstats
path: root/tpl/views/button.pug
blob: 2a1bd57388a849e7ba6ddaf65257c6175ffbf04b (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
mixin view-button 
    +view('button', 'Button')
        .c-box
            .l-button-group
                +a-button(variant='accent')= 'Button'
                +a-button(variant='accent' disabled=true)= 'Button'
                +a-button(variant='accent' outline=true)= 'Button'
                +a-button(variant='accent' outline=true disabled=true)= 'Button'
            br
            .l-button-group
                +a-button(variant='accent' icon='trash')
                +a-button(variant='accent' disabled=true icon='trash')
                +a-button(variant='accent' outline=true icon='trash')
                +a-button(variant='accent' outline=true disabled=true icon='trash')
            br
            .l-button-group
                +a-button(variant='primary')= 'Button'
                +a-button(variant='primary' disabled=true)= 'Button'
                +a-button(variant='primary' outline=true)= 'Button'
                +a-button(variant='primary' outline=true disabled=true)= 'Button'
            br
            .l-button-group
                +a-button(variant='primary' icon='trash')
                +a-button(variant='primary' disabled=true icon='trash')
                +a-button(variant='primary' outline=true icon='trash')
                +a-button(variant='primary' outline=true disabled=true icon='trash')
            br
            .l-button-group
                +a-button(variant='secondary')= 'Button'
                +a-button(variant='secondary' disabled=true)= 'Button'
                +a-button(variant='secondary' outline=true)= 'Button'
                +a-button(variant='secondary' outline=true disabled=true)= 'Button'
            br
            .l-button-group
                +a-button(variant='secondary' icon='trash')
                +a-button(variant='secondary' disabled=true icon='trash')
                +a-button(variant='secondary' outline=true icon='trash')
                +a-button(variant='secondary' outline=true disabled=true icon='trash')