Skip to content

Commit 00e283f

Browse files
committed
docs: #BlackLivesMatter
1 parent c9f424f commit 00e283f

File tree

8 files changed

+42
-4
lines changed

8 files changed

+42
-4
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"format:check": "npm run format:base -- --list-different",
1919
"format:fix": "npm run format:base -- --write"
2020
},
21+
"engines": {
22+
"node": "11.15.0"
23+
},
2124
"husky": {
2225
"hooks": {
2326
"commit-msg": "commitlint --env HUSKY_GIT_PARAMS",

src/app/projects/projects-view/projects-view.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<ac-toolbar> <ac-toolbar-logo></ac-toolbar-logo> </ac-toolbar>
1+
<ac-toolbar>
2+
<ac-toolbar-logo></ac-toolbar-logo>
3+
</ac-toolbar>
24
<main>
35
<div class="projects-header">
46
<div class="welcome-wrapper">
@@ -16,7 +18,7 @@ <h5>Your Projects</h5>
1618
<mat-icon>add</mat-icon>
1719
Add Project
1820
</mat-card>
19-
<mat-card (click)="navigateToProject(project.id)" *ngFor="let project of (projects$ | async)">
21+
<mat-card (click)="navigateToProject(project.id)" *ngFor="let project of projects$ | async">
2022
<div class="card-ripple" matRipple></div>
2123
<mat-card-content>
2224
<h2 class="project-name">{{ project.name }}</h2>

src/app/shared/dropdown/dropdown.component.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
}
3434

3535
.mat-select-trigger {
36+
display: flex;
37+
align-items: center;
38+
height: 35px;
3639
padding: 0px 10px;
3740
}
3841

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
<mat-toolbar> <ng-content></ng-content> </mat-toolbar>
1+
<mat-toolbar>
2+
<ng-content></ng-content>
3+
</mat-toolbar>
4+
<div class="black-lives-matter">
5+
Black Lives Matter.
6+
</div>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@import '../../../scss/variables';
2+
@import '~@angular/material/theming';
3+
4+
.black-lives-matter {
5+
font-weight: 100;
6+
background: #25292c;
7+
padding: 16px;
8+
color: white;
9+
10+
a {
11+
color: mat-color($accent, 1);
12+
}
13+
}

src/scss/black-lives-matter.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
mat-toolbar {
2+
&.mat-toolbar {
3+
background: #03070b !important;
4+
color: white !important;
5+
6+
ac-dropdown {
7+
background: white;
8+
border-color: white;
9+
}
10+
}
11+
}

src/scss/theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@import './variables';
2+
@import './black-lives-matter';
23

34
@include angular-material-theme($app-theme);

tools/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const buildChecklist = async contentFolder => {
6060
};
6161

6262
export const extractFrontMatter = (filePath: string): FrontMatter => {
63-
return matter(readFileSync(filePath)) as FrontMatter;
63+
return (matter(readFileSync(filePath)) as unknown) as FrontMatter;
6464
};
6565

6666
export const compileFilesForCategory = (files: Array<string>, category: string, categoryPath: string) => {

0 commit comments

Comments
 (0)