summaryrefslogtreecommitdiffstats
path: root/tpl/views/rule.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-25 18:29:21 +0100
committerVolpeon <git@volpeon.ink>2022-03-25 18:29:21 +0100
commit5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch)
treee3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/views/rule.pug
parentFixed vertical rule (diff)
downloadiro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz
iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2
iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip
Split demo in :target views
Diffstat (limited to 'tpl/views/rule.pug')
-rw-r--r--tpl/views/rule.pug21
1 files changed, 21 insertions, 0 deletions
diff --git a/tpl/views/rule.pug b/tpl/views/rule.pug
new file mode 100644
index 0000000..495c804
--- /dev/null
+++ b/tpl/views/rule.pug
@@ -0,0 +1,21 @@
1mixin view-rule
2 +view('rule', 'Rule')
3 .c-box
4 +div-heading('lg')= 'Heading'
5 +rule('strong')
6 p= loremIpsum
7
8 .c-box
9 +div-heading('sm')= 'Heading'
10 +rule('medium')
11 p= loremIpsum
12
13 .c-box
14 +div-heading('xs')= 'Heading'
15 +rule('faint')
16 p= loremIpsum
17
18 .c-box
19 +rule('strong')= 'Strong'
20 +rule('medium')= 'Medium'
21 +rule('faint')= 'Faint'