|
6 | 6 |
|
7 | 7 | /// In interface-like type style map. |
8 | 8 | /// @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. |
10 | 10 | /// @param {String} $font-size [null] - The font size of the type style. |
11 | 11 | /// @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. |
12 | 13 | /// @param {Number|string} $line-height [null] - The line height of the type style. |
13 | 14 | /// @param {Number|String} $letter-spacing [null] - The letter spacing of the type style. |
14 | 15 | /// @param {String} $text-transform [null] - The text-transform property of the type style. |
|
17 | 18 | $font-family: null, |
18 | 19 | $font-size: null, |
19 | 20 | $font-weight: null, |
| 21 | + $font-style: null, |
20 | 22 | $line-height: null, |
21 | 23 | $letter-spacing: null, |
22 | 24 | $text-transform: null, |
23 | 25 | $margin-top: null, |
24 | 26 | $margin-bottom: null, |
25 | | - //TODO Add font style rule $font-style: null |
26 | 27 | ) { |
27 | 28 | @return ( |
28 | 29 | font-family: $font-family, |
29 | 30 | font-weight: $font-weight, |
30 | 31 | font-size: $font-size, |
| 32 | + font-style: $font-style, |
31 | 33 | letter-spacing: $letter-spacing, |
32 | 34 | text-transform: $text-transform, |
33 | 35 | line-height: $line-height, |
|
85 | 87 | h1: igx-type-style( |
86 | 88 | $font-size: rem(96px), |
87 | 89 | $font-weight: 300, |
| 90 | + $font-style: normal, |
88 | 91 | $letter-spacing: rem(-1.5px), |
89 | 92 | $line-height: rem(112px), |
90 | 93 | $text-transform: none, |
|
94 | 97 | h2: igx-type-style( |
95 | 98 | $font-size: rem(60px), |
96 | 99 | $font-weight: 300, |
| 100 | + $font-style: normal, |
97 | 101 | $letter-spacing: rem(-.5px), |
98 | 102 | $line-height: rem(71px), |
99 | 103 | $text-transform: none, |
|
103 | 107 | h3: igx-type-style( |
104 | 108 | $font-size: rem(48px), |
105 | 109 | $font-weight: 400, |
| 110 | + $font-style: normal, |
106 | 111 | $letter-spacing: 0, |
107 | 112 | $line-height: rem(57px), |
108 | 113 | $text-transform: none, |
|
112 | 117 | h4: igx-type-style( |
113 | 118 | $font-size: rem(34px), |
114 | 119 | $font-weight: 400, |
| 120 | + $font-style: normal, |
115 | 121 | $letter-spacing: rem(.25px), |
116 | 122 | $line-height: rem(40px), |
117 | 123 | $text-transform: none, |
|
121 | 127 | h5: igx-type-style( |
122 | 128 | $font-size: rem(24px), |
123 | 129 | $font-weight: 400, |
| 130 | + $font-style: normal, |
124 | 131 | $letter-spacing: 0, |
125 | 132 | $line-height: rem(28px), |
126 | 133 | $text-transform: none, |
|
130 | 137 | h6: igx-type-style( |
131 | 138 | $font-size: rem(20px), |
132 | 139 | $font-weight: 600, |
| 140 | + $font-style: normal, |
133 | 141 | $letter-spacing: rem(.15px), |
134 | 142 | $line-height: rem(24px), |
135 | 143 | $text-transform: none, |
|
139 | 147 | subtitle-1: igx-type-style( |
140 | 148 | $font-size: rem(16px), |
141 | 149 | $font-weight: 400, |
| 150 | + $font-style: normal, |
142 | 151 | $letter-spacing: rem(.15px), |
143 | 152 | $line-height: rem(24px), |
144 | 153 | $text-transform: none |
145 | 154 | ), |
146 | 155 | subtitle-2: igx-type-style( |
147 | 156 | $font-size: rem(14px), |
148 | | - $letter-spacing: rem(.1px), |
149 | 157 | $font-weight: 600, |
| 158 | + $font-style: normal, |
| 159 | + $letter-spacing: rem(.1px), |
150 | 160 | $line-height: rem(24px), |
151 | 161 | $text-transform: none |
152 | 162 | ), |
153 | 163 | body-1: igx-type-style( |
154 | 164 | $font-size: rem(16px), |
155 | 165 | $font-weight: 400, |
| 166 | + $font-style: normal, |
156 | 167 | $letter-spacing: rem(.5px), |
157 | 168 | $line-height: rem(28px), |
158 | 169 | $text-transform: none, |
|
162 | 173 | body-2: igx-type-style( |
163 | 174 | $font-size: rem(14px), |
164 | 175 | $font-weight: 400, |
| 176 | + $font-style: normal, |
165 | 177 | $letter-spacing: rem(.25px), |
166 | 178 | $line-height: rem(20px), |
167 | 179 | $text-transform: none |
168 | 180 | ), |
169 | 181 | button: igx-type-style( |
170 | 182 | $font-size: rem(14px), |
171 | 183 | $font-weight: 600, |
| 184 | + $font-style: normal, |
172 | 185 | $letter-spacing: rem(.75px), |
173 | 186 | $line-height: rem(16px), |
174 | 187 | $text-transform: uppercase |
175 | 188 | ), |
176 | 189 | caption: igx-type-style( |
177 | 190 | $font-size: rem(12px), |
178 | 191 | $font-weight: 400, |
| 192 | + $font-style: normal, |
179 | 193 | $letter-spacing: rem(.4px), |
180 | 194 | $line-height: rem(16px), |
181 | 195 | $text-transform: none |
182 | 196 | ), |
183 | 197 | overline: igx-type-style( |
184 | 198 | $font-size: rem(10px), |
185 | 199 | $font-weight: 400, |
| 200 | + $font-style: normal, |
186 | 201 | $letter-spacing: rem(1.5px), |
187 | 202 | $line-height: rem(16px), |
188 | 203 | $text-transform: uppercase |
|
0 commit comments