From a6d3fbcfe90103ac3000d98cc97879d1c5c00915 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 10 Jun 2022 22:04:37 +0200 Subject: Updated headings --- tpl/views/blockquote.pug | 4 ++-- tpl/views/code.pug | 2 +- tpl/views/heading.pug | 12 ++++++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'tpl/views') diff --git a/tpl/views/blockquote.pug b/tpl/views/blockquote.pug index a346292..a5dc95c 100644 --- a/tpl/views/blockquote.pug +++ b/tpl/views/blockquote.pug @@ -1,6 +1,6 @@ mixin view-blockquote +view('blockquote', 'Blockquote') - .c-box.s-blockquote - p= loremIpsum + .c-box.s-blockquotes + p.u-mt-0= loremIpsum blockquote= loremIpsum p= loremIpsum diff --git a/tpl/views/code.pug b/tpl/views/code.pug index 552500d..21e16c8 100644 --- a/tpl/views/code.pug +++ b/tpl/views/code.pug @@ -1,7 +1,7 @@ mixin view-code +view('code', 'Code') .c-box.s-body - p= loremIpsum + p.u-mt-0= loremIpsum pre code. font-weight: 700; diff --git a/tpl/views/heading.pug b/tpl/views/heading.pug index efdfb69..07080d5 100644 --- a/tpl/views/heading.pug +++ b/tpl/views/heading.pug @@ -1,15 +1,23 @@ mixin view-heading +view('heading', 'Heading') .c-box - h1= 'H1 default' + h1.u-mt-0= 'H1 default' h2= 'H2 default' h3= 'H3 default' h4= 'H4 default' h5= 'H5 default' h6= 'H6 default' + .c-box.s-headings + h1.u-mt-0: span.s-headings__primary= 'H1 styled' + h2= 'H2 styled' + h3= 'H3 styled' + h4= 'H4 styled' + h5= 'H5 styled' + h6= 'H6 styled' + .c-box - +div-heading('xxl', true)= 'XXL Heading' + +div-heading('xxl', true)(class='u-mt-0')= 'XXL Heading' +div-heading('xl')= 'XL Heading' +div-heading('lg')= 'LG Heading' +div-heading('md')= 'MD Heading' -- cgit v1.2.3-70-g09d2