|
1 | 1 | @use "sass:math"; |
2 | 2 | @import "headline.variables"; |
3 | 3 |
|
4 | | -h1, |
5 | | -h2, |
6 | | -h3 { |
7 | | - &.elm-headline { |
8 | | - font-family: $db-font-family-head; |
9 | | - } |
10 | | -} |
| 4 | +// .elm-headline { |
| 5 | +// margin-bottom: to-rem($pxValue: 16); |
11 | 6 |
|
12 | | -.elm-headline { |
13 | | - margin-bottom: to-rem($pxValue: 16); |
| 7 | +// // * TODO: These declarations make sense for the moment, but should get aligned with overall definitions of spacing around elements |
| 8 | +// margin-top: to-rem($pxValue: 24); |
| 9 | +// } |
14 | 10 |
|
15 | | - // * TODO: These declarations make sense for the moment, but should get aligned with overall definitions of spacing around elements |
16 | | - margin-top: to-rem($pxValue: 24); |
17 | | -} |
| 11 | +// h1, |
| 12 | +// h2, |
| 13 | +// h3 { |
| 14 | +// &.elm-headline { |
| 15 | +// font-family: $db-font-family-headline; |
| 16 | +// font-weight: 900; |
| 17 | +// } |
| 18 | +// } |
18 | 19 |
|
19 | | -h1, |
20 | | -h2, |
21 | | -h3 { |
22 | | - &.elm-headline { |
23 | | - // TODO: We need to check whether to define headline styles on the HTML tag or DB UI component level |
24 | | - // font-family: $db-font-family-headline; |
25 | | - font-weight: 900; |
26 | | - } |
27 | | -} |
| 20 | +// h1 { |
| 21 | +// &.elm-headline { |
| 22 | +// font-size: to-rem( |
| 23 | +// $pxValue: $rea-main-h1-font-size |
| 24 | +// ); // * TODO: possibly rework variable naming |
| 25 | +// line-height: math.div(40, $rea-main-h1-font-size); |
| 26 | +// @media screen and (max-width: 767px) { |
| 27 | +// font-size: to-rem( |
| 28 | +// $pxValue: $rea-main-h1-font-size-small |
| 29 | +// ); // * TODO: possibly rework variable naming |
| 30 | +// line-height: 1.14; |
| 31 | +// } |
| 32 | +// } |
| 33 | +// } |
28 | 34 |
|
29 | | -h1 { |
30 | | - &.elm-headline { |
31 | | - font-size: to-rem( |
32 | | - $pxValue: $rea-main-h1-font-size |
33 | | - ); // * TODO: possibly rework variable naming |
34 | | - line-height: math.div(40, $rea-main-h1-font-size); |
35 | | - @media screen and (max-width: 767px) { |
36 | | - font-size: to-rem( |
37 | | - $pxValue: $rea-main-h1-font-size-small |
38 | | - ); // * TODO: possibly rework variable naming |
39 | | - line-height: 1.14; |
40 | | - } |
41 | | - } |
42 | | -} |
| 35 | +// h2 { |
| 36 | +// &.elm-headline { |
| 37 | +// font-size: to-rem( |
| 38 | +// $pxValue: $rea-main-h2-font-size |
| 39 | +// ); // * TODO: possibly rework variable naming |
| 40 | +// line-height: math.div(28, $rea-main-h2-font-size); |
| 41 | +// @media screen and (max-width: 767px) { |
| 42 | +// font-size: to-rem( |
| 43 | +// $pxValue: $rea-main-h2-font-size-small |
| 44 | +// ); // * TODO: possibly rework variable naming |
| 45 | +// line-height: 1.2; |
| 46 | +// } |
| 47 | +// } |
| 48 | +// } |
43 | 49 |
|
44 | | -h2 { |
45 | | - &.elm-headline { |
46 | | - font-size: to-rem( |
47 | | - $pxValue: $rea-main-h2-font-size |
48 | | - ); // * TODO: possibly rework variable naming |
49 | | - line-height: math.div(28, $rea-main-h2-font-size); |
50 | | - @media screen and (max-width: 767px) { |
51 | | - font-size: to-rem( |
52 | | - $pxValue: $rea-main-h2-font-size-small |
53 | | - ); // * TODO: possibly rework variable naming |
54 | | - line-height: 1.2; |
55 | | - } |
56 | | - } |
57 | | -} |
| 50 | +// h3 { |
| 51 | +// &.elm-headline { |
| 52 | +// font-size: to-rem( |
| 53 | +// $pxValue: $rea-main-h3-font-size |
| 54 | +// ); // * TODO: possibly rework variable naming |
| 55 | +// line-height: math.div(24, $rea-main-h3-font-size); |
| 56 | +// @media screen and (max-width: 767px) { |
| 57 | +// font-size: to-rem( |
| 58 | +// $pxValue: $rea-main-h3-font-size-small |
| 59 | +// ); // * TODO: possibly rework variable naming |
| 60 | +// line-height: 1.33; |
| 61 | +// } |
| 62 | +// } |
| 63 | +// } |
58 | 64 |
|
59 | | -h3 { |
60 | | - &.elm-headline { |
61 | | - font-size: to-rem( |
62 | | - $pxValue: $rea-main-h3-font-size |
63 | | - ); // * TODO: possibly rework variable naming |
64 | | - line-height: math.div(24, $rea-main-h3-font-size); |
65 | | - @media screen and (max-width: 767px) { |
66 | | - font-size: to-rem( |
67 | | - $pxValue: $rea-main-h3-font-size-small |
68 | | - ); // * TODO: possibly rework variable naming |
69 | | - line-height: 1.33; |
70 | | - } |
71 | | - } |
72 | | -} |
73 | | - |
74 | | -h4 { |
75 | | - &.elm-headline { |
76 | | - font-size: to-rem( |
77 | | - $pxValue: $rea-main-h4-font-size |
78 | | - ); // * TODO: possibly rework variable naming |
79 | | - font-weight: 400; |
80 | | - line-height: math.div(24, $rea-main-h4-font-size); |
81 | | - @media screen and (max-width: 767px) { |
82 | | - font-size: to-rem( |
83 | | - $pxValue: $rea-main-h4-font-size-small |
84 | | - ); // * TODO: possibly rework variable naming |
85 | | - line-height: 1.25; |
86 | | - } |
87 | | - } |
88 | | -} |
| 65 | +// h4 { |
| 66 | +// &.elm-headline { |
| 67 | +// font-size: to-rem( |
| 68 | +// $pxValue: $rea-main-h4-font-size |
| 69 | +// ); // * TODO: possibly rework variable naming |
| 70 | +// font-weight: 400; |
| 71 | +// line-height: math.div(24, $rea-main-h4-font-size); |
| 72 | +// @media screen and (max-width: 767px) { |
| 73 | +// font-size: to-rem( |
| 74 | +// $pxValue: $rea-main-h4-font-size-small |
| 75 | +// ); // * TODO: possibly rework variable naming |
| 76 | +// line-height: 1.25; |
| 77 | +// } |
| 78 | +// } |
| 79 | +// } |
0 commit comments