blob: 47ffefa1c8c3e6784ce503b71912b38310dc6a0a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
mixin h1-heading(level, inner = false)
- let classes = ['o-heading', 'o-heading--' + level]
h1(class=classes)&attributes(attributes)
if inner
span.o-heading__inner
block
else
block
mixin h2-heading(level)
- let classes = ['o-heading', 'o-heading--' + level]
h2(class=classes)&attributes(attributes)
block
mixin h3-heading(level)
- let classes = ['o-heading', 'o-heading--' + level]
h3(class=classes)&attributes(attributes)
block
mixin h4-heading(level)
- let classes = ['o-heading', 'o-heading--' + level]
h4(class=classes)&attributes(attributes)
block
mixin h5-heading(level)
- let classes = ['o-heading', 'o-heading--' + level]
h5(class=classes)&attributes(attributes)
block
mixin h6-heading(level)
- let classes = ['o-heading', 'o-heading--' + level]
h6(class=classes)&attributes(attributes)
block
mixin div-heading(level, primary = false)
- let classes = ['o-heading', 'o-heading--' + level]
div(class=classes)&attributes(attributes)
if primary
span.o-heading__primary
block
else
block
|