Skip to content

Commit 0982832

Browse files
authored
[ENG-9837], [ENG-9081] Links contrast issues (#824)
- Ticket: [ENG-9837], [ENG-9081] - Feature flag: n/a ## Summary of Changes 1. Changed profile links color. 2. Changed preprints, institutions links color.
1 parent 06a0e8b commit 0982832

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

src/app/features/preprints/pages/landing/preprints-landing.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>{{ 'preprints.title' | translate }}</h1>
2525
} @else {
2626
<div [innerHTML]="osfPreprintProvider()?.descriptionHtml"></div>
2727
}
28-
<a class="font-bold" routerLink="/preprints">{{ 'preprints.poweredBy' | translate }}</a>
28+
<a class="dark-blue-two-link font-bold" routerLink="/preprints">{{ 'preprints.poweredBy' | translate }}</a>
2929
</div>
3030

3131
<osf-search-input
@@ -39,7 +39,7 @@ <h1>{{ 'preprints.title' | translate }}</h1>
3939
<p-skeleton width="10%" height="1rem" />
4040
} @else if (osfPreprintProvider()!.examplePreprintId) {
4141
<a
42-
class="font-bold"
42+
class="dark-blue-two-link font-bold"
4343
[routerLink]="['/preprints', osfPreprintProvider()!.id, osfPreprintProvider()!.examplePreprintId]"
4444
>{{ 'preprints.showExample' | translate }}
4545
</a>

src/app/features/preprints/pages/landing/preprints-landing.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
.provider-description {
1010
line-height: 1.5rem;
11+
12+
a {
13+
font-weight: bold;
14+
}
1115
}
1216
}
1317

src/app/features/profile/components/profile-information/profile-information.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ <h1>{{ currentUser()?.fullName }}</h1>
1717
@if (currentUser()?.social?.orcid) {
1818
<div class="flex flex-row align-items-center gap-2">
1919
<img ngSrc="assets/icons/colored/orcid.svg" width="16" height="16" alt="orcid" />
20-
<a class="font-bold" [href]="'https://orcid.org/' + currentUser()?.social?.orcid">
20+
<a class="dark-blue-two-link font-bold" [href]="'https://orcid.org/' + currentUser()?.social?.orcid">
2121
https://orcid.org/{{ currentUser()?.social?.orcid }}
2222
</a>
2323
</div>
2424
}
2525

2626
<div class="flex flex-row align-items-center gap-2">
2727
<img ngSrc="assets/icons/colored/cos-shield.svg" width="16" height="16" alt="cos-shield" />
28-
<a class="font-bold" [href]="currentUser()?.link">{{ currentUser()?.link }}</a>
28+
<a class="dark-blue-two-link font-bold" [href]="currentUser()?.link">{{ currentUser()?.link }}</a>
2929
</div>
3030
</div>
3131

src/assets/i18n/en.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,8 @@
14691469
"pendingWithdrawal": "Pending Withdrawal",
14701470
"approved": "Approved",
14711471
"declined": "Declined",
1472-
"inProgress": "In Progress"
1472+
"inProgress": "In Progress",
1473+
"removed": "Removed"
14731474
},
14741475
"makeDecision": {
14751476
"header": "Make decision",
@@ -2840,7 +2841,7 @@
28402841
},
28412842
"institutions": {
28422843
"title": "Institutions",
2843-
"description": "OSF Institutions enhances transparency and increases the visibility of research outputs, accelerating discovery and reuse. Institutional members focus on generating and sharing research, and let OSF Institutions handle the infrastructure. <br /> <a class='font-bold' href='https://www.cos.io/products/osf-institutions' target='_blank'>Read more</a>",
2844+
"description": "OSF Institutions enhances transparency and increases the visibility of research outputs, accelerating discovery and reuse. Institutional members focus on generating and sharing research, and let OSF Institutions handle the infrastructure. <br /> <a class='dark-blue-two-link font-bold' href='https://www.cos.io/products/osf-institutions' target='_blank'>Read more</a>",
28442845
"searchInstitutions": "Search institutions",
28452846
"searchInstitutionsDesctiption": "Please select an institution to apply to your search. Only OSF Institutions member affiliations are discoverable. ",
28462847
"learnMore": "Learn more about OSF Institutions."

src/styles/_common.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@
145145
color: var(--dark-blue-1);
146146
}
147147

148+
.dark-blue-two-link {
149+
color: var(--dark-blue-2);
150+
}
151+
148152
.provider-description {
149153
a:hover {
150154
color: var(--branding-primary-color);

0 commit comments

Comments
 (0)