Skip to content

Commit b2922d0

Browse files
committed
update-material-mdc-migration-typography
1 parent 10d41be commit b2922d0

64 files changed

Lines changed: 228 additions & 152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/app/account-settings/pages/account-settings/account-settings.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
width: 100%;
55
}
66

7-
.mat-headline {
7+
.mat-headline-5 {
88
margin-bottom: $spacing-large;
99
}
1010
main#main {

src/app/account-trusted-parties/pages/account-trusted-parties/account-trusted-parties.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
width: 100%;
55
}
66

7-
.mat-headline {
7+
.mat-headline-5 {
88
margin-bottom: $spacing-large;
99
}
1010
main#main {

src/app/authorize/components/form-authorize/form-authorize.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1 class="orc-font-heading-small" i18n="@@authorize.authorize">
3636
<div class="col l9 user-wrapper">
3737
<div class="row">
3838
<div class="m-b-8">
39-
<div class="mat-body-2">
39+
<div class="mat-subtitle-2">
4040
<strong id="user-name">{{ userName }}</strong>
4141
</div>
4242
<span>{{ orcidUrl }}</span>
@@ -68,13 +68,13 @@ <h1 class="orc-font-heading-small" i18n="@@authorize.authorize">
6868
></app-info-drop-down>
6969

7070
<p
71-
class="mat-body-1 m-t-16 m-b-16"
71+
class="mat-body-2 m-t-16 m-b-16"
7272
i18n="@@authorize.organizationAskedFollowingAccess"
7373
>
7474
This organization has asked for the following access to your ORCID record:
7575
</p>
7676

77-
<ul class="mat-body-1 m-t-base">
77+
<ul class="mat-body-2 m-t-base">
7878
<ng-container
7979
*ngFor="let scope of this.oauthRequest.scopes; let last = last"
8080
>

src/app/authorize/components/oauth-error/oauth-error.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
</div>
131131
</mat-card-content>
132132

133-
<p class="mat-body-1 mat-caption">
133+
<p class="mat-body-2 mat-caption">
134134
{{ error }} /
135135
{{ errorDescription }}
136136
</p>

src/app/cdk/banner/banner.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section class="alert alert-banner mat-body-1" [attr.aria-label]="ariaLabel">
1+
<section class="alert alert-banner mat-body-2" [attr.aria-label]="ariaLabel">
22
<p><ng-content></ng-content></p>
33
<button
44
*ngIf="canDismiss"

src/app/cdk/banner/banner.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ button {
1616
flex-shrink: 0;
1717
}
1818

19-
.mat-body-1 p {
19+
.mat-body-2 p {
2020
margin: 0;
2121
}
2222
.columns-12 :host {

src/app/cdk/is-this-you/is-this-you.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="container" *ngIf="data && data.duplicateRecords">
2-
<h1 class="mat-display-1 modal-title">{{ data.titleLabel || titleLabel }}</h1>
2+
<h1 class="mat-headline-4 modal-title">{{ data.titleLabel || titleLabel }}</h1>
33
<div class="non-fixed">
4-
<p class="mat-body-1">
4+
<p class="mat-body-2">
55
{{ data.bodyLabel || bodyLabel }}
66
<a
77
rel="noopener noreferrer"
@@ -12,7 +12,7 @@ <h1 class="mat-display-1 modal-title">{{ data.titleLabel || titleLabel }}</h1>
1212
</a>
1313
</p>
1414

15-
<table class="mat-subheading-2">
15+
<table class="mat-subtitle-1">
1616
<tr>
1717
<th>{{ data.firstNameLabel || firstNameLabel }}</th>
1818
<th>{{ data.lastNameLabel || lastNameLabel }}</th>

src/app/cdk/panel/panel-data-line/panel-data-line.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
<span>{{ title }}</span>
2020
<ng-container *ngIf="detail">&#x200E;({{ detail }})&#x200E;</ng-container>
2121
<p
22-
class="mat-body-1"
22+
class="mat-body-2"
2323
*ngIf="!url && copyOnClick"
2424
appCopyOnClick
2525
matTooltip="Click to Copy"
2626
[matTooltipPosition]="'above'"
2727
>
2828
{{ content }}
2929
</p>
30-
<p class="mat-body-1" *ngIf="!url && !copyOnClick">{{ content }}</p>
30+
<p class="mat-body-2" *ngIf="!url && !copyOnClick">{{ content }}</p>
3131

3232
<a
33-
class="underline mat-body-1"
33+
class="underline mat-body-2"
3434
href="{{ url }}"
3535
target="_blank"
3636
rel="noopener noreferrer"

src/app/cdk/side-bar/modals/modal-country/modal-country.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<div class="row">
169169
<a class="col add-more no-gutters" (click)="addCountry()" id="add-link">
170170
<mat-icon class="large-material-icon">add_circle_outline</mat-icon>
171-
<span class="mat-body-1">
171+
<span class="mat-body-2">
172172
<ng-container
173173
*ngIf="countries?.length === 0"
174174
i18n="@@side-bar.addCountryOrLocation"

src/app/cdk/side-bar/modals/modal-keyword/modal-keyword.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ <h2 class="col no-gutters orc-font-body" i18n="@@topBar.myKeywords">
159159
(click)="addKeyword()"
160160
>
161161
<mat-icon class="large-material-icon">add_circle_outline</mat-icon>
162-
<span class="mat-body-1">
162+
<span class="mat-body-2">
163163
<ng-container
164164
*ngIf="keywords?.length === 0"
165165
i18n="@@topBar.addKeyword"

0 commit comments

Comments
 (0)