From 75fbbd11b30c5906696bfb3e4136774f4244887e Mon Sep 17 00:00:00 2001 From: Stefan F Date: Wed, 12 Oct 2016 15:21:12 +0200 Subject: [PATCH] [Menu] use 'muiTheme.menuItem.selectedTextColor' for 'style.selectedMenuItem' As the 'selectedTextColor' is already set in the compiled theme we should use it. That way the user is able to overwride it. --- src/Menu/Menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Menu/Menu.js b/src/Menu/Menu.js index 3eab59d22c524a..c94ec7e1324c5c 100644 --- a/src/Menu/Menu.js +++ b/src/Menu/Menu.js @@ -35,7 +35,7 @@ function getStyles(props, context) { width: width, }, selectedMenuItem: { - color: muiTheme.baseTheme.palette.accent1Color, + color: muiTheme.menuItem.selectedTextColor, }, };