From fb15ff079ca9b5a43580fae9bdabb05d37ce7c83 Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Mon, 13 Jul 2015 00:53:55 +0530 Subject: [PATCH] Documentation fixes for Button component The 'icon' display effect is said to be mutually exclusive with the 'raised' display effect in the configuration options of the button component documentation. But, the example above it uses the 'icon' effect along with the 'raised' effect. This commit removes the 'raised' effect from the respective example. This commit also adds information about the 'mdl-button--primary' to the configuration options section of the button component documentation. (Closes #990) --- src/button/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/button/README.md b/src/button/README.md index 1727975c..725b12c7 100755 --- a/src/button/README.md +++ b/src/button/README.md @@ -32,9 +32,9 @@ A button with the "fab" effect. ``` -A button with the "icon", "raised" and "colored" effects. +A button with the "icon" and "colored" effects. ```html - + ``` @@ -51,6 +51,7 @@ The MDL CSS classes apply various predefined visual and behavioral enhancements | `mdl-button--mini-fab` | Applies *mini-fab* (small fab circular) display effect | Mutually exclusive with *raised*, *fab*, and *icon* | | `mdl-button--icon` | Applies *icon* (small plain circular) display effect | Mutually exclusive with *raised*, *fab*, and *mini-fab* | | `mdl-button--colored` | Applies *colored* display effect | Colors are defined in `material.min.css` | +| `mdl-button--primary` | Applies *primary* color display effect | Colors are defined in `material.min.css` | | `mdl-button--accent` | Applies *accent* color display effect | Colors are defined in `material.min.css` | | `mdl-js-ripple-effect` | Applies *ripple* click effect | May be used in combination with any other classes |