From d23a2cf25ccc33f49d73ee3da2f775c0d4fa0784 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 27 Jun 2024 09:56:02 +0200 Subject: Update --- tpl/views/alert.pug | 6 +++--- tpl/views/card.pug | 9 +++++++++ tpl/views/table.pug | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 tpl/views/card.pug (limited to 'tpl/views') diff --git a/tpl/views/alert.pug b/tpl/views/alert.pug index c176279..02cf508 100644 --- a/tpl/views/alert.pug +++ b/tpl/views/alert.pug @@ -3,10 +3,10 @@ mixin view-alert .c-box +alert= loremIpsum br - +alert('primary')= loremIpsum + +alert('accent')= loremIpsum br - +alert('error')= loremIpsum + +alert('negative')= loremIpsum br - +alert('success')= loremIpsum + +alert('positive')= loremIpsum br +alert('warning')= loremIpsum diff --git a/tpl/views/card.pug b/tpl/views/card.pug new file mode 100644 index 0000000..0b88b0e --- /dev/null +++ b/tpl/views/card.pug @@ -0,0 +1,9 @@ +mixin view-card + +view('card', 'Card') + .c-box + +card(href='#') + +slot('body') + h1= 'XS Heading' + p= loremIpsum + +slot('footer') + = 'Footer' diff --git a/tpl/views/table.pug b/tpl/views/table.pug index f74a4cd..6ed7263 100644 --- a/tpl/views/table.pug +++ b/tpl/views/table.pug @@ -76,7 +76,7 @@ mixin view-table +table-cell= 'Row 4,3' .c-box - +table(box=true, size50=true) + +table(box=true sm=true) +table-head +table-row +table-head-cell= 'Title' -- cgit v1.2.3-70-g09d2