|
196 | 196 | // Material, this is used for the subscript text in a form field and the text in a paginator. |
197 | 197 | .mat-font-body-sm { |
198 | 198 | font: var(--mat-sys-body-small); |
199 | | - letter-spacing: var(--mat-sys-body-small-tracking); |
200 | 199 | } |
201 | 200 |
|
202 | 201 | // Sets the font to the body medium typeface. Use for medium body text, this is the default |
203 | 202 | // body font. In Angular Material, this is used for the text in a table row and the supporting |
204 | 203 | // text in a dialog. |
205 | 204 | .mat-font-body-md { |
206 | 205 | font: var(--mat-sys-body-medium); |
207 | | - letter-spacing: var(--mat-sys-body-medium-tracking); |
208 | 206 | } |
209 | 207 |
|
210 | 208 | // Sets the font to the body large typeface. Use for large body text, such as an introductory |
211 | 209 | // paragraph. In Angular Material, this is used for the text in a list item and the text in a |
212 | 210 | // select trigger. |
213 | 211 | .mat-font-body-lg { |
214 | 212 | font: var(--mat-sys-body-large); |
215 | | - letter-spacing: var(--mat-sys-body-large-tracking); |
216 | 213 | } |
217 | 214 |
|
218 | 215 | // Sets the font to the display small typeface. Use for small display text, such as a date. |
219 | 216 | .mat-font-display-sm { |
220 | 217 | font: var(--mat-sys-display-small); |
221 | | - letter-spacing: var(--mat-sys-display-small-tracking); |
222 | 218 | } |
223 | 219 |
|
224 | 220 | // Sets the font to the display medium typeface. Use for medium display text, such as a hero |
225 | 221 | // title. |
226 | 222 | .mat-font-display-md { |
227 | 223 | font: var(--mat-sys-display-medium); |
228 | | - letter-spacing: var(--mat-sys-display-medium-tracking); |
229 | 224 | } |
230 | 225 |
|
231 | 226 | // Sets the font to the display large typeface. Use for large display text, such as a hero title. |
232 | 227 | .mat-font-display-lg { |
233 | 228 | font: var(--mat-sys-display-large); |
234 | | - letter-spacing: var(--mat-sys-display-large-tracking); |
235 | 229 | } |
236 | 230 |
|
237 | 231 | // Sets the font to the headline small typeface. Use for small headlines, such as a page title. In |
238 | 232 | // Angular Material, this is used for the headline in a dialog. |
239 | 233 | .mat-font-headline-sm { |
240 | 234 | font: var(--mat-sys-headline-small); |
241 | | - letter-spacing: var(--mat-sys-headline-small-tracking); |
242 | 235 | } |
243 | 236 |
|
244 | 237 | // Sets the font to the headline medium typeface. Use for medium headlines, such as a section |
245 | 238 | // title. |
246 | 239 | .mat-font-headline-md { |
247 | 240 | font: var(--mat-sys-headline-medium); |
248 | | - letter-spacing: var(--mat-sys-headline-medium-tracking); |
249 | 241 | } |
250 | 242 |
|
251 | 243 | // Sets the font to the headline large typeface. Use for large headlines, such as a page title on |
252 | 244 | // a large screen. |
253 | 245 | .mat-font-headline-lg { |
254 | 246 | font: var(--mat-sys-headline-large); |
255 | | - letter-spacing: var(--mat-sys-headline-large-tracking); |
256 | 247 | } |
257 | 248 |
|
258 | 249 | // Sets the font to the label small typeface. Use for small labels, such as text in a badge. |
259 | 250 | .mat-font-label-sm { |
260 | 251 | font: var(--mat-sys-label-small); |
261 | | - letter-spacing: var(--mat-sys-label-small-tracking); |
262 | 252 | } |
263 | 253 |
|
264 | 254 | // Sets the font to the label medium typeface. Use for medium labels. In Angular Material, this |
265 | 255 | // is used for the slider label. |
266 | 256 | .mat-font-label-md { |
267 | 257 | font: var(--mat-sys-label-medium); |
268 | | - letter-spacing: var(--mat-sys-label-medium-tracking); |
269 | 258 | } |
270 | 259 |
|
271 | 260 | // Sets the font to the label large typeface. Use for large labels. In Angular Material, this is |
272 | 261 | // used for buttons, chips, and menu labels. |
273 | 262 | .mat-font-label-lg { |
274 | 263 | font: var(--mat-sys-label-large); |
275 | | - letter-spacing: var(--mat-sys-label-large-tracking); |
276 | 264 | } |
277 | 265 |
|
278 | 266 | // Sets the font to the title small typeface. Use for small titles, such as a card title. In |
279 | 267 | // Angular Material, this is used for the header of a table and the label of an option group. |
280 | 268 | .mat-font-title-sm { |
281 | 269 | font: var(--mat-sys-title-small); |
282 | | - letter-spacing: var(--mat-sys-title-small-tracking); |
283 | 270 | } |
284 | 271 |
|
285 | 272 | // Sets the font to the title medium typeface. Use for medium titles, such as a dialog title |
286 | 273 | // or the primary text in a list item. In Angular Material, this is used for the subtitle |
287 | 274 | // of a card and the header of an expansion panel. |
288 | 275 | .mat-font-title-md { |
289 | 276 | font: var(--mat-sys-title-medium); |
290 | | - letter-spacing: var(--mat-sys-title-medium-tracking); |
291 | 277 | } |
292 | 278 |
|
293 | 279 | // Sets the font to the title large typeface. Use for large titles, such as a page title on a |
294 | 280 | // small screen. In Angular Material, this is used for the title of a card and the title of a |
295 | 281 | // toolbar. |
296 | 282 | .mat-font-title-lg { |
297 | 283 | font: var(--mat-sys-title-large); |
298 | | - letter-spacing: var(--mat-sys-title-large-tracking); |
299 | 284 | } |
300 | 285 |
|
301 | 286 |
|
|
0 commit comments