diff options
author | Volpeon <git@volpeon.ink> | 2023-10-20 11:56:14 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-10-20 11:56:14 +0200 |
commit | a7abe85626b1c37c6227ffa8a01ebcd968c5a6bc (patch) | |
tree | b21ae57bff75f8e3d5346f12575e1f7b9a458d1f /tpl/objects | |
parent | Revert bubble group to grid (diff) | |
download | iro-design-a7abe85626b1c37c6227ffa8a01ebcd968c5a6bc.tar.gz iro-design-a7abe85626b1c37c6227ffa8a01ebcd968c5a6bc.tar.bz2 iro-design-a7abe85626b1c37c6227ffa8a01ebcd968c5a6bc.zip |
Add red divider
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/divider.pug | 7 |
1 files changed, 4 insertions, 3 deletions
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 @@ | |||
1 | mixin divider(level) | 1 | mixin divider(level) |
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'o-divider': true, | 4 | 'o-divider': true, |
5 | 'o-divider--labelled': !!block, | 5 | 'o-divider--labelled': !!block, |
6 | ['o-divider--' + level]: true | 6 | ['o-divider--' + level]: true, |
7 | ['o-divider--' + attributes.color]: !!attributes.color | ||
7 | } | 8 | } |
8 | 9 | ||
9 | div(class=classes)&attributes(attributes) | 10 | div(class=classes)&attributes(attributes) |