@@ -24,7 +24,7 @@ include all of the styles for core (styles common to all components), so you onl
24
24
single css file for Angular Material in your app.
25
25
26
26
You can include a theme file directly into your application from
27
- ` @angular/material/core/theming/ prebuilt `
27
+ ` @angular/material/prebuilt-themes `
28
28
29
29
Available pre-built themes:
30
30
* ` deeppurple-amber.css `
@@ -35,12 +35,12 @@ Available pre-built themes:
35
35
If you're using Angular CLI, this is as simple as including one line
36
36
in your ` styles.css ` file:
37
37
``` css
38
- @import ' ~@angular/material/core/theming/ prebuilt/deeppurple-amber.css' ;
38
+ @import ' ~@angular/material/prebuilt-themes /deeppurple-amber.css' ;
39
39
```
40
40
41
41
Alternatively, you can just reference the file directly. This would look something like:
42
42
``` html
43
- <link href =" node_modules/@angular/material/core/theming/ prebuilt/indigo-pink.css" rel =" stylesheet" >
43
+ <link href =" node_modules/@angular/material/prebuilt-themes /indigo-pink.css" rel =" stylesheet" >
44
44
```
45
45
The actual path will depend on your server setup.
46
46
@@ -74,7 +74,7 @@ When you want more customization than a pre-built theme offers, you can create y
74
74
A theme file is a simple Sass file that defines your palettes and passes them to mixins that output
75
75
the corresponding styles. A typical theme file will look something like this:
76
76
``` scss
77
- @import ' ~@angular/material/core/ theming/all-theme ' ;
77
+ @import ' ~@angular/material/theming' ;
78
78
// Plus imports for other components in your app.
79
79
80
80
// Include the base styles for Angular Material core. We include this here so that you only
0 commit comments