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/objects/badge.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tpl/objects') diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug index 441eb51..53e972c 100644 --- a/tpl/objects/badge.pug +++ b/tpl/objects/badge.pug @@ -2,7 +2,8 @@ mixin badge(variant) - let classes = { 'o-badge': true, - 'o-menu__badge': !!attributes.menu + 'o-badge--pill': !!attributes.pill, + 'o-menu__badge': !!attributes.menu, } if (attributes.size) { classes['o-badge--' + attributes.size] = true -- cgit v1.2.3-70-g09d2