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