Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit e889fac

Browse files
refactor(teams pages): use classes for icon color
+ use darker color for linkedIn, for accessability
1 parent fb41f87 commit e889fac

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<a *ngIf="!!githubUrl" mat-button [href]="githubUrl">
2-
<mat-icon [ngStyle]="{'color': '#6f066f'}" fontSet="fa" fontIcon="fa-github"></mat-icon>
2+
<mat-icon class="icon-github" fontSet="fa" fontIcon="fa-github"></mat-icon>
33
</a>
44
<a *ngIf="!!twitterUrl" mat-button [href]="twitterUrl">
5-
<mat-icon [ngStyle]="{'color': '#4073d4'}" fontSet="fa" fontIcon="fa-twitter"></mat-icon>
5+
<mat-icon class="icon-twitter" fontSet="fa" fontIcon="fa-twitter"></mat-icon>
66
</a>
77
<a *ngIf="!!linkedinUrl" mat-button [href]="linkedinUrl">
8-
<mat-icon [ngStyle]="{'color': '#4288b3'}" fontSet="fa" fontIcon="fa-linkedin"></mat-icon>
8+
<mat-icon class="icon-linkedin" fontSet="fa" fontIcon="fa-linkedin"></mat-icon>
99
</a>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
@import "../../../styles/colors";
2+
13
a.mat-button {
24
font-size: 25px;
35
}
6+
7+
.icon-github {
8+
color: $icon-color-github;
9+
}
10+
11+
.icon-twitter {
12+
color: $icon-color-twitter;
13+
14+
}
15+
16+
.icon-linkedin {
17+
color: $icon-color-linkedin;
18+
}

src/styles/_colors.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$icon-color-github: #6f066f;
2+
$icon-color-twitter: #4073d4;
3+
$icon-color-linkedin: #3D7CA4;

0 commit comments

Comments
 (0)