From eaeb1592ed4c99da688d10b071999bfdb734a807 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Jan 2024 20:28:28 +0100 Subject: Added larger badge variant --- tpl/views/badge.pug | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'tpl/views') diff --git a/tpl/views/badge.pug b/tpl/views/badge.pug index d4ca4b0..a3c4eed 100644 --- a/tpl/views/badge.pug +++ b/tpl/views/badge.pug @@ -9,13 +9,21 @@ mixin view-badge = ' ' +badge('accent-quiet')= 'new' = ' ' - +badge(size=200 href='#')= '100' + +badge(size=200 href='#')= '200' = ' ' +badge('primary')(size=200 href='#')= 'new' = ' ' +badge('accent')(size=200 href='#')= 'new' = ' ' +badge('accent-quiet')(size=200 href='#')= 'new' + = ' ' + +badge(size=300 href='#')= '300' + = ' ' + +badge('primary')(size=300 href='#')= 'new' + = ' ' + +badge('accent')(size=300 href='#')= 'new' + = ' ' + +badge('accent-quiet')(size=300 href='#')= 'new' .c-box +badge(pill=true)= '100' @@ -26,10 +34,18 @@ mixin view-badge = ' ' +badge('accent-quiet')(pill=true)= 'new' = ' ' - +badge(size=200, pill=true)= '100' + +badge(size=200, pill=true)= '200' = ' ' +badge('primary')(size=200, pill=true)= 'new' = ' ' +badge('accent')(size=200, pill=true)= 'new' = ' ' +badge('accent-quiet')(size=200, pill=true)= 'new' + = ' ' + +badge(size=300, pill=true)= '300' + = ' ' + +badge('primary')(size=300, pill=true)= 'new' + = ' ' + +badge('accent')(size=300, pill=true)= 'new' + = ' ' + +badge('accent-quiet')(size=300, pill=true)= 'new' -- cgit v1.2.3-70-g09d2