@@ -68,7 +68,7 @@ const createStyled = (styles, options) => {
6868const BadgeExtended = ( { classes, theme, children, colorBrightness, ...props } ) => {
6969 const Styled = createStyled ( {
7070 badge : {
71- backgroundColor : getColor ( props . color , theme , colorBrightness )
71+ backgroundColor : getColor ( props . colortheme , theme , colorBrightness )
7272 }
7373 } ) ;
7474
@@ -102,7 +102,7 @@ export const Badge = withStyles(
102102const TypographyExtended = ( { theme, children, weight, size, colorBrightness, ...props } ) => (
103103 < TypographyBase
104104 style = { {
105- color : getColor ( props . color , theme , colorBrightness ) ,
105+ color : getColor ( props . colortheme , theme , colorBrightness ) ,
106106 fontWeight : getFontWeight ( weight ) ,
107107 fontSize : getFontSize ( size , props . variant , theme )
108108 } }
@@ -117,11 +117,11 @@ export const Typography = withTheme()(TypographyExtended);
117117const ButtonExtended = ( { theme, children, ...props } ) => {
118118 const Styled = createStyled ( {
119119 button : {
120- backgroundColor : getColor ( props . color , theme ) ,
120+ backgroundColor : getColor ( props . colortheme , theme ) ,
121121 boxShadow : theme . customShadows . widget ,
122122 color : 'white' ,
123123 '&:hover' : {
124- backgroundColor : getColor ( props . color , theme , 'light' ) ,
124+ backgroundColor : getColor ( props . colortheme , theme , 'light' ) ,
125125 boxShadow : theme . customShadows . widgetWide ,
126126 }
127127 }
0 commit comments