From 5c878876d3bdd2c7cd094871fa0644f3310bcec8 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 23 Jul 2025 08:34:23 +0200 Subject: Commit merge of button and badge into action-button (and rename it to button) --- tpl/views/card.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tpl/views/card.pug') diff --git a/tpl/views/card.pug b/tpl/views/card.pug index 9a35b37..f030abf 100644 --- a/tpl/views/card.pug +++ b/tpl/views/card.pug @@ -83,17 +83,17 @@ mixin view-card +card-body .l-media .l-media__block - +badge('positive')(quiet=true icon='repeat' href='#') + +button(theme='positive' static=true pill=true size='sm' icon='repeat' href='#') strong= '12' .l-media__block - +badge('warning')(quiet=true icon='star' href='#') + +button(theme='warning' static=true pill=true size='sm' icon='star' href='#') strong= '34' .l-media__block.u-mis-auto - +a-button(primary=true)= 'Reply' + +button(selected=true)= 'Reply' +card(quiet=true href='#' class='l-card-list__card') +card-image(src='Drawing_Half.png' style={ 'aspect-ratio': '21 / 9' }) - +badge= 'Drawings' + +button(badge=true static=true selected=true)= 'Drawings' +card-body +card-title= 'XS Heading' +card-content -- cgit v1.2.3-70-g09d2