blob: db75159110de51586b5bd4c51a970e2ef336c469 (
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
|
@include namespace('section-heading') {
@include store((
--dims: (
--pad-y: $line-height * 2rem
),
--colors: (
--line: prop(--colors --accent --color, $global: true),
)
));
@include component(namespace()) {
margin: 0 0 prop(--dims --pad-y);
font-size: .8em;
font-weight: 400;
letter-spacing: .2em;
text-transform: uppercase;
&::before {
content: '';
display: inline-block;
width: 3em;
height: 1px;
margin-right: 1.3em;
background-color: prop(--colors --line);
vertical-align: middle;
}
}
}
|