<p dir="auto">When overriding the contrastDefaultColor of a theme, the text color of a button does not change.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { createMuiTheme } from 'material-ui/styles'
import cyan from 'material-ui/colors/cyan'

const theme = createMuiTheme({
  palette: {
    primary: {
      ...cyan,
      contrastDefaultColor: 'light'
    },
  },
})"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">createMuiTheme</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/styles'</span>
<span class="pl-k">import</span> <span class="pl-s1">cyan</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/colors/cyan'</span>

<span class="pl-k">const</span> <span class="pl-s1">theme</span> <span class="pl-c1">=</span> <span class="pl-en">createMuiTheme</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
  <span class="pl-c1">palette</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">primary</span>: <span class="pl-kos">{</span>
      ...<span class="pl-s1">cyan</span><span class="pl-kos">,</span>
      <span class="pl-c1">contrastDefaultColor</span>: <span class="pl-s">'light'</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">The following button should now have light text, on a cyan background</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Button raised color=&quot;primary&quot;&gt;Example&lt;/Button&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">Button</span> <span class="pl-c1">raised</span> <span class="pl-c1">color</span>="<span class="pl-s">primary</span>"<span class="pl-kos">&gt;</span>Example<span class="pl-kos">&lt;/</span><span class="pl-ent">Button</span><span class="pl-kos">&gt;</span></pre></div>

<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The button still has dark text on a cyan background.</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Material-UI: 1.0.0-beta.9<br>
React: 15.6.1</p>
<ul dir="auto">
<li>[ x] I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>

<p dir="auto">The api and example documentation for the modal should reflect the most up to date props, including show instead of open, and onRequestClose instead of onClose</p>
<h2 dir="auto">Current Behavior</h2>

<p dir="auto">Currently the documentation reads</p>
<blockquote>
<p dir="auto">open : bool -- If true the modal is open<br>
onClose : func -- Callback fired when the component requests to be closed. The reason parameter can optionally be used to control the response to onClose.</p>
<p dir="auto">Signature:<br>
function(event: object, reason: string) =&gt; void<br>
event: The event source of the callback<br>
reason: Can be:"escapeKeyDown", "backdropClick"</p>
</blockquote>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>

<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.22</td>
</tr>
<tr>
<td>React</td>
<td></td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>