@@ -33,27 +33,29 @@ import { MaterialModule } from '@angular/material';
33
33
export class PizzaPartyAppModule { }
34
34
```
35
35
36
- ### Including core and theme styles:
37
- See the [ theming guide] ( docs/theming.md ) for more information.
36
+ ## Including core and theme styles:
37
+ This is required to apply all of the core and theme styles to your application.
38
+ See the [ theming guide] ( docs/theming.md ) for instructions.
38
39
39
40
40
- ### Additional setup for ` md-slide-toggle ` and ` md-slider ` :
41
+ ## Additional setup for ` md-slide-toggle ` and ` md-slider ` :
41
42
The slide-toggle and slider components have a dependency on [ HammerJS] ( http://hammerjs.github.io/ ) .
42
43
43
44
Add HammerJS to your application via [ npm] ( https://www.npmjs.com/package/hammerjs ) , a CDN
44
45
(such as the [ Google CDN] ( https://developers.google.com/speed/libraries/#hammerjs ) ), or served
45
46
directly from your app.
46
47
47
- ### [ Optional] Using Material Design icons with ` md-icon ` :
48
+ ## [ Optional] Using Material Design icons with ` md-icon ` :
48
49
49
- - If you want to use Material Design icons, load the Material Design font in your ` index.html ` .
50
- ` md-icon ` supports any font icons or svg icons, so this is only one potential option.
50
+ - If you want to use Material Design icons in addition to Angular Material components,
51
+ load the Material Design font in your ` index.html ` .
52
+ ` md-icon ` supports any font icons or svg icons, so this is only one option for an icon source.
51
53
52
54
** src/index.html**
53
55
``` html
54
56
<link href =" https://fonts.googleapis.com/icon?family=Material+Icons" rel =" stylesheet" >
55
57
```
56
58
57
- ### Sample Angular Material 2 projects
59
+ ## Sample Angular Material 2 projects
58
60
- [ Material 2 Sample App] ( https://github.com/jelbourn/material2-app )
59
61
- [ Angular Connect 2016 Demo] ( https://github.com/kara/leashed-in )
0 commit comments