Skip to content

Commit 3c6d2d8

Browse files
committed
refactor(@schematics/angular): remove unused CSS
Only h1 is used in the initial template. (cherry picked from commit 7e72fd8)
1 parent abb1c6f commit 3c6d2d8

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

packages/schematics/angular/application/files/common-files/src/app/app.component.html.template

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,8 @@
4444
-moz-osx-font-smoothing: grayscale;
4545
}
4646

47-
h1,
48-
h2,
49-
h3,
50-
h4,
51-
h5,
52-
h6 {
47+
h1 {
48+
font-size: 3.125rem;
5349
color: var(--gray-900);
5450
font-weight: 500;
5551
line-height: 100%;
@@ -58,10 +54,6 @@
5854
font-family: "Inter Tight";
5955
}
6056

61-
h1 {
62-
font-size: 3.125rem;
63-
}
64-
6557
p {
6658
margin: 0;
6759
color: var(--gray-700);
@@ -233,7 +225,7 @@
233225
</svg>
234226
<h1>Hello, {{ title }}</h1>
235227
<p>Congratulations! Your app is running. 🎉</p>
236-
</div>
228+
</div>
237229
<div class="divider" role="separator" aria-label="Divider"></div>
238230
<div class="right-side">
239231
<div class="pill-group">

0 commit comments

Comments
 (0)