blob: 56c0b86684e9ed2009cc9cd4fb48d6353ff615c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
mixin container
-
let classes = {
'l-container': true,
'l-container--narrow': attributes.narrow,
'l-container--narrow-75': attributes.narrow50,
'u-themed': !!attributes.theme
}
if (!!attributes.theme) {
classes['t-' + attributes.theme] = true
}
if (attributes.class) {
classes[attributes.class] = true
}
div(class=classes)&attributes(attributes)
block
|