From 6b0fcac695aa7a5517f6f53cec50da493acc4582 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 22 Jun 2024 19:30:00 +0200 Subject: Update --- tpl/views/button.pug | 55 ++++++++++++++++++++++------------------------------ 1 file changed, 23 insertions(+), 32 deletions(-) (limited to 'tpl/views/button.pug') diff --git a/tpl/views/button.pug b/tpl/views/button.pug index 2a1bd57..7c96419 100644 --- a/tpl/views/button.pug +++ b/tpl/views/button.pug @@ -2,37 +2,28 @@ mixin view-button +view('button', 'Button') .c-box .l-button-group - +a-button(variant='accent')= 'Button' - +a-button(variant='accent' disabled=true)= 'Button' - +a-button(variant='accent' outline=true)= 'Button' - +a-button(variant='accent' outline=true disabled=true)= 'Button' + +a-button= 'Button' + +a-button(disabled=true)= 'Button' + +a-button(outline=true)= 'Button' + +a-button(outline=true disabled=true)= 'Button' br .l-button-group - +a-button(variant='accent' icon='trash') - +a-button(variant='accent' disabled=true icon='trash') - +a-button(variant='accent' outline=true icon='trash') - +a-button(variant='accent' outline=true disabled=true icon='trash') - br - .l-button-group - +a-button(variant='primary')= 'Button' - +a-button(variant='primary' disabled=true)= 'Button' - +a-button(variant='primary' outline=true)= 'Button' - +a-button(variant='primary' outline=true disabled=true)= 'Button' - br - .l-button-group - +a-button(variant='primary' icon='trash') - +a-button(variant='primary' disabled=true icon='trash') - +a-button(variant='primary' outline=true icon='trash') - +a-button(variant='primary' outline=true disabled=true icon='trash') - br - .l-button-group - +a-button(variant='secondary')= 'Button' - +a-button(variant='secondary' disabled=true)= 'Button' - +a-button(variant='secondary' outline=true)= 'Button' - +a-button(variant='secondary' outline=true disabled=true)= 'Button' - br - .l-button-group - +a-button(variant='secondary' icon='trash') - +a-button(variant='secondary' disabled=true icon='trash') - +a-button(variant='secondary' outline=true icon='trash') - +a-button(variant='secondary' outline=true disabled=true icon='trash') + +a-button(icon='trash') + +a-button(disabled=true icon='trash') + +a-button(outline=true icon='trash') + +a-button(outline=true disabled=true icon='trash') + + each theme in ['primary', 'accent', 'positive', 'negative', 'warning'] + .c-box + .l-button-group + +a-button(variant=theme)= 'Button' + +a-button(variant=theme disabled=true)= 'Button' + +a-button(variant=theme outline=true)= 'Button' + +a-button(variant=theme outline=true disabled=true)= 'Button' + br + .l-button-group + +a-button(variant=theme icon='trash') + +a-button(variant=theme disabled=true icon='trash') + +a-button(variant=theme outline=true icon='trash') + +a-button(variant=theme outline=true disabled=true icon='trash') + -- cgit v1.2.3-70-g09d2