Skip to content

Commit 18cedc7

Browse files
authored
fix(material/core): rename corner extra-small to xs (#32101)
* fix(material/core): rename corner extra-small to xs * fix(material/core): update devapp
1 parent 80087ab commit 18cedc7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/dev-app/system-classes-demo/system-classes-demo.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ <h3> Label </h3>
115115
<section>
116116
<h2>Shape</h2>
117117
<div class="demo-section-container demo-grid">
118-
<div class="mat-border mat-corner-extra-sm demo-box mat-bg-primary-container">
119-
mat-corner-extra-sm
120-
</div>
118+
<div class="mat-border mat-corner-xs demo-box mat-bg-primary-container">mat-corner-xs</div>
121119
<div class="mat-border mat-corner-sm demo-box mat-bg-primary-container">mat-corner-sm</div>
122120
<div class="mat-border mat-corner-md demo-box mat-bg-primary-container">mat-corner-md</div>
123121
<div class="mat-border mat-corner-lg demo-box mat-bg-primary-container">mat-corner-lg</div>

src/material/core/tokens/_classes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306

307307
// Sets the border radius to extra small. Use for components that need a small amount of rounding,
308308
// such as a chip. In Angular Material, this is used for the shape of a snackbar and a tooltip.
309-
.mat-corner-extra-sm {
309+
.mat-corner-xs {
310310
border-radius: var(--mat-sys-corner-extra-small);
311311
}
312312

0 commit comments

Comments
 (0)