From a7abe85626b1c37c6227ffa8a01ebcd968c5a6bc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 20 Oct 2023 11:56:14 +0200 Subject: Add red divider --- tpl/objects/divider.pug | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tpl/objects') diff --git a/tpl/objects/divider.pug b/tpl/objects/divider.pug index 094df07..46425cd 100644 --- a/tpl/objects/divider.pug +++ b/tpl/objects/divider.pug @@ -1,9 +1,10 @@ mixin divider(level) - let classes = { - 'o-divider': true, - 'o-divider--labelled': !!block, - ['o-divider--' + level]: true + 'o-divider': true, + 'o-divider--labelled': !!block, + ['o-divider--' + level]: true, + ['o-divider--' + attributes.color]: !!attributes.color } div(class=classes)&attributes(attributes) -- cgit v1.2.3-70-g09d2