summaryrefslogtreecommitdiffstats
path: root/tpl/views/badge.pug
blob: e81a723b8869c9df86f08bd76bb02e8a7af0e6e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mixin view-badge 
    +view('badge', 'Badge')
        .c-box
            +badge= '100'
            = ' '
            +badge('accent')= 'new'
            = ' '
            +badge('accent-quiet')= 'new'
            = ' '
            +badge(size=200)= '100'
            = ' '
            +badge('accent')(size=200)= 'new'
            = ' '
            +badge('accent-quiet')(size=200)= 'new'