Skip to content

Commit 280685f

Browse files
authored
Merge pull request #1 from bonnici/master
Added custom materialize styling
2 parents 1f1de00 + 2155840 commit 280685f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

angular-cli.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"prefix": "app",
1616
"mobile": false,
1717
"styles": [
18-
"styles.css"
18+
"styles.scss"
1919
],
2020
"scripts": [
2121
"../node_modules/jquery/dist/jquery.js",

src/app/app.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<h1>
22
{{title}}
33
</h1>
4+
5+
<button class="waves-effect waves-light btn">Test Button</button>

src/styles.css

-2
This file was deleted.

src/styles.scss

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* You can add global styles to this file, and also import other style files */
2+
3+
@import "../node_modules/materialize-css/sass/components/color"; /* This must be included to use the included variables and the color function */
4+
$primary-color: color("indigo", "base");
5+
$secondary-color: color("blue", "lighten-1");
6+
7+
$roboto-font-path: "../node_modules/materialize-css/fonts/roboto/"; /* This is needed so the materialize.scss file can load the font */
8+
@import "../node_modules/materialize-css/sass/materialize";

0 commit comments

Comments
 (0)