Add documentation describing variants to buttons, chips and cards
MODIFY
components/Buttons/docs/theming.md
components/Buttons/docs/theming.md
@@ -103,3 +103,21 @@ MDCFloatingActionButtonThemer.applyScheme(buttonScheme, to: button)
[MDCFloatingActionButtonThemer applyScheme:buttonScheme toButton:button];
```
<!--</div>-->
+
+## Outlined buttons
+
+To theme a button as a Material Design outlined button, use `MDCOutlinedButtonThemer`
+with an `MDCButton`.
+
+<!--<div class="material-code-render" markdown="1">-->
+#### Swift
+```swift
+MDCOutlinedButtonThemer.applyScheme(buttonScheme, to: button)
+```
+
+#### Objective-C
+
+```objc
+[MDCOutlinedButtonThemer applyScheme:buttonScheme toButton:button];
+```
+<!--</div>-->

MODIFY
components/Cards/README.md
components/Cards/README.md
@@ -116,6 +116,9 @@ An `MDCCard` can be added and used as you would add any `UIView` or `UIControl`,
An `MDCCardCollectionCell` can be added, used, and reused as a `UICollectionViewCell`, if manually in code, or through the interface builder.
+### Style Variants
+MDCCardThemer exposes apis to theme MDCCard and MDCCardCollectionCell instances as either a default or outlined variant. An outlined variant behaves identically to a default styled card, but differs in its coloring and in that it has a stroked border. Use 'applyScheme:toCard:' to style an instance with default values and 'applyOutlinedVariantWithScheme:toCard:' to style an instance with the outlined values.
+
### Importing
Before using Cards, you'll need to import it:

MODIFY
components/Chips/README.md
components/Chips/README.md
@@ -261,6 +261,13 @@ the others (`contentPadding`). This is useful so that you can set each of the pa
ensure your chips look correct whether or not they have an image and/or accessory view. The chip
uses these property to determine `intrinsicContentSize` and `sizeThatFits`.
+### Style Variants
+MDCChipViewThemer exposes apis to theme MDCChipView instances as either a default or outlined
+variant. An outlined variant behaves identically to a default styled chipview, but differs in its
+coloring and in that it has a stroked border. Use 'applyScheme:toChipView:' to style an instance
+with default values and 'applyOutlinedVariantWithScheme:toChipView:' to style an instance with
+the outlined values.
+
- - -
## Examples

Add documentation describing variants to buttons, chips and cards (#3600)

https://www.pivotaltracker.com/story/show/157164168