Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,21 @@ import { MaterialModule } from '@angular/material';
export class PizzaPartyAppModule { }
```

### Including core and theme styles:
See the [theming guide](docs/theming.md) for more information.
## Include core and theme styles

To ensure the components display correctly, you'll need to include Material's core style rules and
your desired theme. The easiest way to do this is to use one of the pre-built theme files that comes
with Angular Material (it already includes the core styles for you).

Select a theme file from `@angular/material/core/theming/prebuilt` and import it at the top of your
global `styles.css` file.

**src/styles.css**
```
@import '~@angular/material/core/theming/prebuilt/deeppurple-amber.css';
```

See our [theming guide](docs/theming.md) for more information.

### Additional setup for `md-slide-toggle` and `md-slider`:
The slide-toggle and slider components have a dependency on [HammerJS](http://hammerjs.github.io/).
Expand Down