From 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Mar 2022 18:29:21 +0100 Subject: Split demo in :target views --- tpl/views/rule.pug | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tpl/views/rule.pug (limited to 'tpl/views/rule.pug') 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 @@ +mixin view-rule + +view('rule', 'Rule') + .c-box + +div-heading('lg')= 'Heading' + +rule('strong') + p= loremIpsum + + .c-box + +div-heading('sm')= 'Heading' + +rule('medium') + p= loremIpsum + + .c-box + +div-heading('xs')= 'Heading' + +rule('faint') + p= loremIpsum + + .c-box + +rule('strong')= 'Strong' + +rule('medium')= 'Medium' + +rule('faint')= 'Faint' -- cgit v1.2.3-70-g09d2