blob: c64de11e06a32c39d6c6c1c459b27a23a6135f78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
mixin container
-
let classes = {
'l-container': true,
'l-container--pad-x': attributes.padX,
'l-container--pad-y': attributes.padY,
'l-container--narrow': attributes.narrow,
'l-container--sm-narrow': attributes.smNarrow,
'l-container--in-page': attributes.inPage,
'l-container--themed': !!attributes.theme
}
if (!!attributes.theme) {
classes['t-' + attributes.theme] = true
}
div(class=classes)
.l-container__inner
block
|