From fd5dace4fd42a7005c60970288c098e94d74d00b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 30 Oct 2023 15:02:23 +0100 Subject: Add pill version for badge --- tpl/views/badge.pug | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tpl/views') diff --git a/tpl/views/badge.pug b/tpl/views/badge.pug index 9979049..4c44af2 100644 --- a/tpl/views/badge.pug +++ b/tpl/views/badge.pug @@ -16,3 +16,20 @@ mixin view-badge +badge('accent')(size=200)= 'new' = ' ' +badge('accent-quiet')(size=200)= 'new' + + .c-box + +badge(pill=true)= '100' + = ' ' + +badge('primary')(pill=true)= 'new' + = ' ' + +badge('accent')(pill=true)= 'new' + = ' ' + +badge('accent-quiet')(pill=true)= 'new' + = ' ' + +badge(size=200, pill=true)= '100' + = ' ' + +badge('primary')(size=200, pill=true)= 'new' + = ' ' + +badge('accent')(size=200, pill=true)= 'new' + = ' ' + +badge('accent-quiet')(size=200, pill=true)= 'new' -- cgit v1.2.3-70-g09d2