<h1 style="box-sizing: border-box; margin: 0.7em 0px; line-height: 1.25; font-weight: 400; color: rgba(0, 0, 0, 0.54); padding-bottom: 0.3em; font-family: Roboto, sans-serif; white-space: normal; background-color: rgb(250, 250, 250);">色彩</h1><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgba(0, 0, 0, 0.87); font-family: Roboto, sans-serif; white-space: normal; background-color: rgb(250, 250, 250);">Muse-UI 中所有组件的&nbsp;&nbsp;或者&nbsp;&nbsp;属性,都可以使用&nbsp;,&nbsp;,&nbsp;,&nbsp;,&nbsp;,&nbsp;, 或者&nbsp;<a href="https://material.io/" style="box-sizing: border-box; background-color: transparent; text-decoration-line: none; color: rgb(255, 64, 129); user-select: none;">Material Design</a>&nbsp;规范中的所有色彩名称。</p><h2 style="box-sizing: border-box; margin-top: 1em; margin-bottom: 16px; line-height: 1.334; font-weight: 400; color: rgba(0, 0, 0, 0.54); padding-bottom: 0.3em; font-family: Roboto, sans-serif; white-space: normal; background-color: rgb(250, 250, 250);"><a href="https://muse-ui.org/#zai-zu-jian-zhong-shi-yong-color" class="header-anchor" style="box-sizing: border-box; background-color: transparent; text-decoration-line: none; color: rgb(33, 150, 243); user-select: none; margin-left: -18px; visibility: hidden; opacity: 0.5;"></a>&nbsp;在组件中使用 color</h2><p><span class=" mu-icon material-icons " style="box-sizing: border-box; font-family: &quot;Material Icons&quot;; display: inline-block; overflow-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: &quot;liga&quot;; line-height: 1; text-transform: none; user-select: none;">cloud</span></p><p><span class=" mu-icon material-icons " style="box-sizing: border-box; font-family: &quot;Material Icons&quot;; display: inline-block; overflow-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: &quot;liga&quot;; line-height: 1; text-transform: none; user-select: none;">code</span></p><p>PRIMARY</p><p>SUCCESS</p><p>INDIGO400</p><p>CUSTOM</p><h2 style="box-sizing: border-box; margin-top: 1em; margin-bottom: 16px; line-height: 1.334; font-weight: 400; color: rgba(0, 0, 0, 0.54); padding-bottom: 0.3em; font-family: Roboto, sans-serif; white-space: normal; background-color: rgb(250, 250, 250);"><a href="https://muse-ui.org/#color-lei-shi-yong" class="header-anchor" style="box-sizing: border-box; background-color: transparent; text-decoration-line: none; color: rgb(33, 150, 243); user-select: none; margin-left: -18px; visibility: hidden; opacity: 0.5;"></a>&nbsp;Color 类使用</h2><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgba(0, 0, 0, 0.87); font-family: Roboto, sans-serif; white-space: normal; background-color: rgb(250, 250, 250);">Muse-UI Color 类,定义了&nbsp;<a href="https://material.io/" style="box-sizing: border-box; background-color: transparent; text-decoration-line: none; color: rgb(255, 64, 129); user-select: none;">Material Design</a>&nbsp;规范的中所有的色彩。</p><pre class="hljs" style="box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.6px; line-height: 1.45; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; white-space: pre-wrap; word-break: break-all; margin-top: 0px; margin-bottom: 16px; overflow: auto; padding: 16px; color: rgb(56, 58, 66); background-color: rgb(255, 255, 255); overflow-wrap: normal;">import&nbsp;theme&nbsp;from&nbsp;&#39;muse-ui/lib/theme&#39;;import&nbsp;*&nbsp;as&nbsp;colors&nbsp;from&nbsp;&#39;muse-ui/lib/theme/colors&#39;;theme.add(&#39;custom-theme&#39;,&nbsp;{&nbsp;&nbsp;primary:&nbsp;colors.indigo,&nbsp;&nbsp;secondary:&nbsp;colors.pinkA200 });</pre><p><br/></p>