From 8bc6b3e8d7446f8b18b1fe47c5fcdbaad33b8f07 Mon Sep 17 00:00:00 2001 From: adeelibr Date: Thu, 9 Aug 2018 22:06:09 +0500 Subject: [PATCH] input hard coded color removed --- packages/material-ui/src/Input/Input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/Input/Input.js b/packages/material-ui/src/Input/Input.js index c57dceb1b43718..3a9f84901ed569 100644 --- a/packages/material-ui/src/Input/Input.js +++ b/packages/material-ui/src/Input/Input.js @@ -63,7 +63,7 @@ export const styles = theme => { display: 'inline-flex', position: 'relative', fontFamily: theme.typography.fontFamily, - color: light ? 'rgba(0, 0, 0, 0.87)' : theme.palette.common.white, + color: theme.palette.text.primary, fontSize: theme.typography.pxToRem(16), lineHeight: '1.1875em', // Reset (19px), match the native input line-height '&$disabled': {