These are chat archives for angular/material

22nd
Nov 2016
SĂ©bastien Tessot
@sebastientessot
Nov 22 2016 00:25
Hi guys, I'm looking for a file picker button, but haven't found anything for now. Do you have any recommendation for that?
Fabian Wiles
@Toxicable
Nov 22 2016 11:00
taking a look at the readme for snackbar I think the properties for the config are incorrect
https://github.com/angular/material2/blob/master/src/lib/snack-bar/README.md
since they don't match up here https://github.com/angular/material2/blob/master/src/lib/snack-bar/snack-bar-config.ts
in the readme it says role but in the code it says politeness and on my current version it works with politeness
Hyaking
@hyaking_twitter
Nov 22 2016 12:04
Hi
Brian A.
@brjadams
Nov 22 2016 22:12

how do I get the material colors to show? I've imported the css in my index.html

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

and I'm using the components in my html,

<md-sidenav-layout fullscreen>
    <md-sidenav #start (open)="closeStartButton.focus()" mode="push" color="primary">
        <app-tile></app-tile>
        <button md-button #closeStartButton (click)="start.close()">Close</button>
    </md-sidenav>
    <md-toolbar [color]="primary">
        <span>Second Row</span>
    </md-toolbar>
    My regular content. This will be moved into the proper DOM at runtime.
    <button md-button (click)="start.open()">Open start sidenav</button>
</md-sidenav-layout>

but no colors or anything are showing up. Any suggestions?

haroldjcastillo
@haroldjcastillo
Nov 22 2016 23:15
can I create a acordion menĂș in Material Desgin ?
Brian A.
@brjadams
Nov 22 2016 23:33
none of the actual styling is coming through on my project
the spacing, sliding, all the effects etc, but no color.
Everything is just plain white.