Skip to content

Commit eae9145

Browse files
committed
feat(project): added angular material to the project
1 parent 351d3bc commit eae9145

File tree

6 files changed

+45
-5
lines changed

6 files changed

+45
-5
lines changed

angular.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"src/assets"
2929
],
3030
"styles": [
31+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
3132
"src/styles.scss"
3233
],
3334
"scripts": []
@@ -92,6 +93,7 @@
9293
"src/assets"
9394
],
9495
"styles": [
96+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
9597
"src/styles.scss"
9698
],
9799
"scripts": []
@@ -123,6 +125,10 @@
123125
}
124126
}
125127
}
126-
}},
127-
"defaultProject": "select-icon"
128-
}
128+
}
129+
},
130+
"defaultProject": "select-icon",
131+
"cli": {
132+
"analytics": "7f7691ff-00c4-4b9e-9902-9d8a30ee6eb7"
133+
}
134+
}

package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"private": true,
1313
"dependencies": {
1414
"@angular/animations": "~10.0.3",
15+
"@angular/cdk": "^10.2.3",
1516
"@angular/common": "~10.0.3",
1617
"@angular/compiler": "~10.0.3",
1718
"@angular/core": "~10.0.3",
1819
"@angular/forms": "~10.0.3",
20+
"@angular/material": "^10.2.3",
1921
"@angular/platform-browser": "~10.0.3",
2022
"@angular/platform-browser-dynamic": "~10.0.3",
2123
"@angular/router": "~10.0.3",

src/app/app.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
33

44
import { AppComponent } from './app.component';
5+
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
56

67
@NgModule({
78
declarations: [
89
AppComponent
910
],
1011
imports: [
11-
BrowserModule
12+
BrowserModule,
13+
BrowserAnimationsModule
1214
],
1315
providers: [],
1416
bootstrap: [AppComponent]

src/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
<base href="/">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="icon" type="image/x-icon" href="favicon.ico">
9+
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
10+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
911
</head>
10-
<body>
12+
<body class="mat-typography">
1113
<app-root></app-root>
1214
</body>
1315
</html>

src/styles.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
/* You can add global styles to this file, and also import other style files */
2+
3+
html, body { height: 100%; }
4+
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }

0 commit comments

Comments
 (0)