From 144b7a2ea83507c98544d14ad9435cc5e51ac071 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Feb 2022 12:26:35 +0100 Subject: Update --- tpl/objects/heading.pug | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tpl/objects/heading.pug (limited to 'tpl/objects/heading.pug') diff --git a/tpl/objects/heading.pug b/tpl/objects/heading.pug new file mode 100644 index 0000000..546df43 --- /dev/null +++ b/tpl/objects/heading.pug @@ -0,0 +1,34 @@ +mixin h1-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + h1(class=classes) + block + +mixin h2-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + h2(class=classes) + block + +mixin h3-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + h3(class=classes) + block + +mixin h4-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + h4(class=classes) + block + +mixin h5-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + h5(class=classes) + block + +mixin h6-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + h6(class=classes) + block + +mixin div-heading + - let classes = ['o-heading', 'o-heading--' + attributes.level] + div(class=classes) + block -- cgit v1.2.3-54-g00ecf