Skip to content

Commit b92520c

Browse files
committed
fix(material/core): remove letter-spacing from the Material typography classes
1 parent a6fbdd9 commit b92520c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/material/core/tokens/_classes.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -196,106 +196,91 @@
196196
// Material, this is used for the subscript text in a form field and the text in a paginator.
197197
.mat-font-body-sm {
198198
font: var(--mat-sys-body-small);
199-
letter-spacing: var(--mat-sys-body-small-tracking);
200199
}
201200

202201
// Sets the font to the body medium typeface. Use for medium body text, this is the default
203202
// body font. In Angular Material, this is used for the text in a table row and the supporting
204203
// text in a dialog.
205204
.mat-font-body-md {
206205
font: var(--mat-sys-body-medium);
207-
letter-spacing: var(--mat-sys-body-medium-tracking);
208206
}
209207

210208
// Sets the font to the body large typeface. Use for large body text, such as an introductory
211209
// paragraph. In Angular Material, this is used for the text in a list item and the text in a
212210
// select trigger.
213211
.mat-font-body-lg {
214212
font: var(--mat-sys-body-large);
215-
letter-spacing: var(--mat-sys-body-large-tracking);
216213
}
217214

218215
// Sets the font to the display small typeface. Use for small display text, such as a date.
219216
.mat-font-display-sm {
220217
font: var(--mat-sys-display-small);
221-
letter-spacing: var(--mat-sys-display-small-tracking);
222218
}
223219

224220
// Sets the font to the display medium typeface. Use for medium display text, such as a hero
225221
// title.
226222
.mat-font-display-md {
227223
font: var(--mat-sys-display-medium);
228-
letter-spacing: var(--mat-sys-display-medium-tracking);
229224
}
230225

231226
// Sets the font to the display large typeface. Use for large display text, such as a hero title.
232227
.mat-font-display-lg {
233228
font: var(--mat-sys-display-large);
234-
letter-spacing: var(--mat-sys-display-large-tracking);
235229
}
236230

237231
// Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
238232
// Angular Material, this is used for the headline in a dialog.
239233
.mat-font-headline-sm {
240234
font: var(--mat-sys-headline-small);
241-
letter-spacing: var(--mat-sys-headline-small-tracking);
242235
}
243236

244237
// Sets the font to the headline medium typeface. Use for medium headlines, such as a section
245238
// title.
246239
.mat-font-headline-md {
247240
font: var(--mat-sys-headline-medium);
248-
letter-spacing: var(--mat-sys-headline-medium-tracking);
249241
}
250242

251243
// Sets the font to the headline large typeface. Use for large headlines, such as a page title on
252244
// a large screen.
253245
.mat-font-headline-lg {
254246
font: var(--mat-sys-headline-large);
255-
letter-spacing: var(--mat-sys-headline-large-tracking);
256247
}
257248

258249
// Sets the font to the label small typeface. Use for small labels, such as text in a badge.
259250
.mat-font-label-sm {
260251
font: var(--mat-sys-label-small);
261-
letter-spacing: var(--mat-sys-label-small-tracking);
262252
}
263253

264254
// Sets the font to the label medium typeface. Use for medium labels. In Angular Material, this
265255
// is used for the slider label.
266256
.mat-font-label-md {
267257
font: var(--mat-sys-label-medium);
268-
letter-spacing: var(--mat-sys-label-medium-tracking);
269258
}
270259

271260
// Sets the font to the label large typeface. Use for large labels. In Angular Material, this is
272261
// used for buttons, chips, and menu labels.
273262
.mat-font-label-lg {
274263
font: var(--mat-sys-label-large);
275-
letter-spacing: var(--mat-sys-label-large-tracking);
276264
}
277265

278266
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
279267
// Angular Material, this is used for the header of a table and the label of an option group.
280268
.mat-font-title-sm {
281269
font: var(--mat-sys-title-small);
282-
letter-spacing: var(--mat-sys-title-small-tracking);
283270
}
284271

285272
// Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
286273
// or the primary text in a list item. In Angular Material, this is used for the subtitle
287274
// of a card and the header of an expansion panel.
288275
.mat-font-title-md {
289276
font: var(--mat-sys-title-medium);
290-
letter-spacing: var(--mat-sys-title-medium-tracking);
291277
}
292278

293279
// Sets the font to the title large typeface. Use for large titles, such as a page title on a
294280
// small screen. In Angular Material, this is used for the title of a card and the title of a
295281
// toolbar.
296282
.mat-font-title-lg {
297283
font: var(--mat-sys-title-large);
298-
letter-spacing: var(--mat-sys-title-large-tracking);
299284
}
300285

301286

0 commit comments

Comments
 (0)