blob: 46425cdc7ed41e73d8f2031325e80b8f40799beb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
mixin divider(level)
-
let classes = {
'o-divider': true,
'o-divider--labelled': !!block,
['o-divider--' + level]: true,
['o-divider--' + attributes.color]: !!attributes.color
}
div(class=classes)&attributes(attributes)
if block
.o-divider__label
block
|