7 Commits

Author SHA1 Message Date
John Detloff
0c0ce4248e
Initialize default color and typography schemes in examples (#4200)
Ensure a default colorScheme and typographyScheme is initialized for examples.
2018-05-21 12:44:43 -04:00
Mohammad Cazi
988a577902
FAB button in shapes example should be themed. (#3737)
https://github.com/material-components/material-components-ios/pull/3737
2018-05-04 15:49:41 -04:00
featherless
c4d443a5f3
[Buttons] Replace MDCRaisedButton with contained button themer in ButtonsShapesExampleViewController. (#3503)
Pivotal story: https://www.pivotaltracker.com/story/show/157046589

Before:

![simulator screen shot - iphone se - 2018-04-25 at 21 52 36](https://user-images.githubusercontent.com/45670/39281708-02133e28-48d4-11e8-8b03-fbc0156b4b23.png)

After:

![simulator screen shot - iphone se - 2018-04-25 at 21 57 09](https://user-images.githubusercontent.com/45670/39281712-05316d96-48d4-11e8-9438-057a41e6bbda.png)
2018-04-26 12:49:58 -04:00
Yarden Eitan
7f7bc36202
[Catalog] Expose colorScheme + typographyScheme properties for all examples to use app wide theming (#3478)
Made colorScheme and typographyScheme properties in the class interfaces for all our examples.
Moved theming away from example inits and into viewDidLoad
Small update for slider example to allow it to grab the theming properly.
Related Pivotal: https://www.pivotaltracker.com/story/show/156616695
2018-04-25 15:15:17 -04:00
featherless
d4f727e16f
[Buttons] Add umbrella headers for all extension targets. (#3454)
Also updated all imports to make use of the umbrella headers.

Pivotal story: https://www.pivotaltracker.com/story/show/157045283
2018-04-24 11:36:56 -04:00
Mohammad Cazi
ece3c1457b [MDCButton] Added new API for coloring image tint color for state. (#3423)
Examples updated.
Unit Test Written.
![screen shot 2018-04-20 at 1 14 17 pm](https://user-images.githubusercontent.com/36271115/39064922-27f71680-449e-11e8-99fb-9fcd0e69d870.png)
![screen shot 2018-04-20 at 1 14 21 pm](https://user-images.githubusercontent.com/36271115/39064929-2be07ffc-449e-11e8-820b-7812cbb8d382.png)
2018-04-20 17:10:41 -04:00
Yarden Eitan
67a68d3d3c
[Buttons] Added Shapes Support (#3368)
Pivotal Story: https://www.pivotaltracker.com/story/show/156168281

* Implementation of Shapes support in Buttons.
* Added example of using shapes on different styles of buttons (see screenshot and gif below).
* Exposed an initializer for MDCCurvedCornerTreatment to be able to use in the example.
* Exposed the color sublayer in MDCShapedShadowLayer to allow hierarchal reordering of sublayers for a shaped button to work with ink and shadow correctly.
* Updated unit tests.
2018-04-17 19:42:12 +03:00