diff options
| author | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
| commit | 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch) | |
| tree | e3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/views/button.pug | |
| parent | Fixed vertical rule (diff) | |
| download | iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2 iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip | |
Split demo in :target views
Diffstat (limited to 'tpl/views/button.pug')
| -rw-r--r-- | tpl/views/button.pug | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tpl/views/button.pug b/tpl/views/button.pug new file mode 100644 index 0000000..9deba01 --- /dev/null +++ b/tpl/views/button.pug | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | mixin view-button | ||
| 2 | +view('button', 'Button') | ||
| 3 | .c-box | ||
| 4 | .l-button-group | ||
| 5 | +a-button(variant='accent')= 'Button' | ||
| 6 | +a-button(variant='accent' disabled=true)= 'Button' | ||
| 7 | +a-button(variant='accent' outline=true)= 'Button' | ||
| 8 | +a-button(variant='accent' outline=true disabled=true)= 'Button' | ||
| 9 | br | ||
| 10 | .l-button-group | ||
| 11 | +a-button(variant='primary')= 'Button' | ||
| 12 | +a-button(variant='primary' disabled=true)= 'Button' | ||
| 13 | +a-button(variant='primary' outline=true)= 'Button' | ||
| 14 | +a-button(variant='primary' outline=true disabled=true)= 'Button' | ||
| 15 | br | ||
| 16 | .l-button-group | ||
| 17 | +a-button(variant='secondary')= 'Button' | ||
| 18 | +a-button(variant='secondary' disabled=true)= 'Button' | ||
| 19 | +a-button(variant='secondary' outline=true)= 'Button' | ||
| 20 | +a-button(variant='secondary' outline=true disabled=true)= 'Button' | ||
