summaryrefslogtreecommitdiffstats
path: root/tpl/objects/dialog.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-11 17:34:57 +0100
committerVolpeon <git@volpeon.ink>2022-02-11 17:34:57 +0100
commit67722515b4882458547bcbe8ac13e60ba3790a56 (patch)
tree08ffa0f345e1e0074bfbb01466c7d0b0da0edd0b /tpl/objects/dialog.pug
parentUpdate (diff)
downloadiro-design-67722515b4882458547bcbe8ac13e60ba3790a56.tar.gz
iro-design-67722515b4882458547bcbe8ac13e60ba3790a56.tar.bz2
iro-design-67722515b4882458547bcbe8ac13e60ba3790a56.zip
Added backdrop and dialog
Diffstat (limited to 'tpl/objects/dialog.pug')
-rw-r--r--tpl/objects/dialog.pug16
1 files changed, 16 insertions, 0 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug
new file mode 100644
index 0000000..2cbbd4f
--- /dev/null
+++ b/tpl/objects/dialog.pug
@@ -0,0 +1,16 @@
1include rule.pug
2include button.pug
3include heading.pug
4
5mixin dialog(title)
6 .o-dialog.t-raised
7 header.o-dialog__header
8 +div-heading('lg')(class='o-dialog__title')
9 = title
10 +rule('medium')
11 section.o-dialog__body
12 block
13 footer.o-dialog__footer
14 +a-button(outline=true)= 'Cancel'
15 = ' '
16 +a-button(outline=true variant='primary')= 'Continue'