Skip to content

Commit 38a9c46

Browse files
authored
Merge branch '11.1.x' into dmdimitrov/fix-9050-11.1.x
2 parents b5b1599 + 248419d commit 38a9c46

File tree

1 file changed

+18
-3
lines changed
  • projects/igniteui-angular/src/lib/core/styles/typography

1 file changed

+18
-3
lines changed

projects/igniteui-angular/src/lib/core/styles/typography/_base.scss

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
/// In interface-like type style map.
88
/// @access public
9-
/// @param {String} $font-family [null] - The font size of the type style.
9+
/// @param {String} $font-family [null] - The font family of the type style.
1010
/// @param {String} $font-size [null] - The font size of the type style.
1111
/// @param {Number|String} $font-weight [null] - The font weight of the type style.
12+
/// @param {String} $font-style [null] - The font style of the type style.
1213
/// @param {Number|string} $line-height [null] - The line height of the type style.
1314
/// @param {Number|String} $letter-spacing [null] - The letter spacing of the type style.
1415
/// @param {String} $text-transform [null] - The text-transform property of the type style.
@@ -17,17 +18,18 @@
1718
$font-family: null,
1819
$font-size: null,
1920
$font-weight: null,
21+
$font-style: null,
2022
$line-height: null,
2123
$letter-spacing: null,
2224
$text-transform: null,
2325
$margin-top: null,
2426
$margin-bottom: null,
25-
//TODO Add font style rule $font-style: null
2627
) {
2728
@return (
2829
font-family: $font-family,
2930
font-weight: $font-weight,
3031
font-size: $font-size,
32+
font-style: $font-style,
3133
letter-spacing: $letter-spacing,
3234
text-transform: $text-transform,
3335
line-height: $line-height,
@@ -85,6 +87,7 @@
8587
h1: igx-type-style(
8688
$font-size: rem(96px),
8789
$font-weight: 300,
90+
$font-style: normal,
8891
$letter-spacing: rem(-1.5px),
8992
$line-height: rem(112px),
9093
$text-transform: none,
@@ -94,6 +97,7 @@
9497
h2: igx-type-style(
9598
$font-size: rem(60px),
9699
$font-weight: 300,
100+
$font-style: normal,
97101
$letter-spacing: rem(-.5px),
98102
$line-height: rem(71px),
99103
$text-transform: none,
@@ -103,6 +107,7 @@
103107
h3: igx-type-style(
104108
$font-size: rem(48px),
105109
$font-weight: 400,
110+
$font-style: normal,
106111
$letter-spacing: 0,
107112
$line-height: rem(57px),
108113
$text-transform: none,
@@ -112,6 +117,7 @@
112117
h4: igx-type-style(
113118
$font-size: rem(34px),
114119
$font-weight: 400,
120+
$font-style: normal,
115121
$letter-spacing: rem(.25px),
116122
$line-height: rem(40px),
117123
$text-transform: none,
@@ -121,6 +127,7 @@
121127
h5: igx-type-style(
122128
$font-size: rem(24px),
123129
$font-weight: 400,
130+
$font-style: normal,
124131
$letter-spacing: 0,
125132
$line-height: rem(28px),
126133
$text-transform: none,
@@ -130,6 +137,7 @@
130137
h6: igx-type-style(
131138
$font-size: rem(20px),
132139
$font-weight: 600,
140+
$font-style: normal,
133141
$letter-spacing: rem(.15px),
134142
$line-height: rem(24px),
135143
$text-transform: none,
@@ -139,20 +147,23 @@
139147
subtitle-1: igx-type-style(
140148
$font-size: rem(16px),
141149
$font-weight: 400,
150+
$font-style: normal,
142151
$letter-spacing: rem(.15px),
143152
$line-height: rem(24px),
144153
$text-transform: none
145154
),
146155
subtitle-2: igx-type-style(
147156
$font-size: rem(14px),
148-
$letter-spacing: rem(.1px),
149157
$font-weight: 600,
158+
$font-style: normal,
159+
$letter-spacing: rem(.1px),
150160
$line-height: rem(24px),
151161
$text-transform: none
152162
),
153163
body-1: igx-type-style(
154164
$font-size: rem(16px),
155165
$font-weight: 400,
166+
$font-style: normal,
156167
$letter-spacing: rem(.5px),
157168
$line-height: rem(28px),
158169
$text-transform: none,
@@ -162,27 +173,31 @@
162173
body-2: igx-type-style(
163174
$font-size: rem(14px),
164175
$font-weight: 400,
176+
$font-style: normal,
165177
$letter-spacing: rem(.25px),
166178
$line-height: rem(20px),
167179
$text-transform: none
168180
),
169181
button: igx-type-style(
170182
$font-size: rem(14px),
171183
$font-weight: 600,
184+
$font-style: normal,
172185
$letter-spacing: rem(.75px),
173186
$line-height: rem(16px),
174187
$text-transform: uppercase
175188
),
176189
caption: igx-type-style(
177190
$font-size: rem(12px),
178191
$font-weight: 400,
192+
$font-style: normal,
179193
$letter-spacing: rem(.4px),
180194
$line-height: rem(16px),
181195
$text-transform: none
182196
),
183197
overline: igx-type-style(
184198
$font-size: rem(10px),
185199
$font-weight: 400,
200+
$font-style: normal,
186201
$letter-spacing: rem(1.5px),
187202
$line-height: rem(16px),
188203
$text-transform: uppercase

0 commit comments

Comments
 (0)