{"action":"created","issue":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/9857","repository_url":"https://api.github.com/repos/mui-org/material-ui","labels_url":"https://api.github.com/repos/mui-org/material-ui/issues/9857/labels{/name}","comments_url":"https://api.github.com/repos/mui-org/material-ui/issues/9857/comments","events_url":"https://api.github.com/repos/mui-org/material-ui/issues/9857/events","html_url":"https://github.com/mui-org/material-ui/issues/9857","id":288288989,"number":9857,"title":"Primary color does not match the theme","user":{"login":"ralphsmith80","id":1655592,"avatar_url":"https://avatars0.githubusercontent.com/u/1655592?v=4","gravatar_id":"","url":"https://api.github.com/users/ralphsmith80","html_url":"https://github.com/ralphsmith80","followers_url":"https://api.github.com/users/ralphsmith80/followers","following_url":"https://api.github.com/users/ralphsmith80/following{/other_user}","gists_url":"https://api.github.com/users/ralphsmith80/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphsmith80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphsmith80/subscriptions","organizations_url":"https://api.github.com/users/ralphsmith80/orgs","repos_url":"https://api.github.com/users/ralphsmith80/repos","events_url":"https://api.github.com/users/ralphsmith80/events{/privacy}","received_events_url":"https://api.github.com/users/ralphsmith80/received_events","type":"User","site_admin":false},"labels":[{"id":122764862,"url":"https://api.github.com/repos/mui-org/material-ui/labels/bug","name":"bug","color":"e11d21","default":true},{"id":234029522,"url":"https://api.github.com/repos/mui-org/material-ui/labels/docs","name":"docs","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"assignees":[{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-01-13T01:09:36Z","updated_at":"2018-03-15T22:36:40Z","closed_at":"2018-01-13T11:34:05Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\nLooking at the [default theme](https://material-ui-next.com/customization/theme-default/) I would Based on the demos I expect the button background color to be `#2196f3` but it's actually `#3f51b5`. Possibly the demo page is just using a different demo theme and I'm not understanding how to extend the existing light theme.\r\n\r\nUltimately I want to be able to override the default theme to provide a new primary and accent color. I in the past I've used the [pre 1.0 steps](http://www.material-ui.com/#/customization/themes). Now it is unclear to me from the docks how to do this without providing an entire new theme. That's a lot when I just want to override a few variables.\r\n\r\n<!-- Checked checkbox should look like this: [x] -->\r\n- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.\r\n\r\n## Expected Behavior\r\nPrimary theme color should be used \r\n\r\n## Current Behavior\r\nAfter files are processed through webpack from `create-react-app` setup (not ejected) the background color for appbar and button is `#3f51b5`\r\n\r\n## Steps to Reproduce (for bugs)\r\nhttps://codesandbox.io/s/612mpxw7kn\r\n\r\n1. Add a button as follows\r\n```\r\n<Button raised color=\"primary\">\r\n  Default\r\n</Button>\r\n``\r\n\r\n## Context\r\nUltimately I want to be able to override the default theme to provide a new primary and accent color. I in the past I've used the [pre 1.0 steps](http://www.material-ui.com/#/customization/themes). Now it is unclear to me from the docks how to do this without providing an entire new theme. That a lot when I just want to override a few variables.\r\n\r\n## Your Environment\r\nApp was created from `create-react-app 1.4.3`\r\n\r\n```package.json\r\n{\r\n  \"dependencies\": {\r\n    \"material-ui\": \"^1.0.0-beta.27\",\r\n    \"material-ui-icons\": \"^1.0.0-beta.17\",\r\n    \"react\": \"^16.2.0\",\r\n    \"react-dom\": \"^16.2.0\",\r\n    \"react-redux\": \"^5.0.6\",\r\n    \"react-router-dom\": \"^4.2.2\",\r\n    \"react-scripts\": \"1.0.17\",\r\n    \"redux\": \"^3.7.2\",\r\n    \"typeface-roboto\": \"0.0.50\"\r\n  },\r\n  \"lint-staged\": {\r\n    \"src/**/*.{js,jsx,json,css}\": [\r\n      \"prettier --single-quote --no-semi --trailing-comma all --jsx-bracket-same-line --write\",\r\n      \"git add\"\r\n    ]\r\n  },\r\n  \"scripts\": {\r\n    \"precommit\": \"lint-staged\",\r\n    \"start\": \"react-scripts start\",\r\n    \"build\": \"react-scripts build\",\r\n    \"test\": \"react-scripts test --env=jsdom\",\r\n    \"eject\": \"react-scripts eject\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"husky\": \"^0.14.3\",\r\n    \"lint-staged\": \"^6.0.0\",\r\n    \"prettier\": \"^1.9.2\"\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/comments/373544876","html_url":"https://github.com/mui-org/material-ui/issues/9857#issuecomment-373544876","issue_url":"https://api.github.com/repos/mui-org/material-ui/issues/9857","id":373544876,"user":{"login":"rsumner32","id":37400784,"avatar_url":"https://avatars2.githubusercontent.com/u/37400784?v=4","gravatar_id":"","url":"https://api.github.com/users/rsumner32","html_url":"https://github.com/rsumner32","followers_url":"https://api.github.com/users/rsumner32/followers","following_url":"https://api.github.com/users/rsumner32/following{/other_user}","gists_url":"https://api.github.com/users/rsumner32/gists{/gist_id}","starred_url":"https://api.github.com/users/rsumner32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsumner32/subscriptions","organizations_url":"https://api.github.com/users/rsumner32/orgs","repos_url":"https://api.github.com/users/rsumner32/repos","events_url":"https://api.github.com/users/rsumner32/events{/privacy}","received_events_url":"https://api.github.com/users/rsumner32/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T22:36:40Z","updated_at":"2018-03-15T22:36:40Z","author_association":"NONE","body":"Part of VMware hacking me u tire to prices \n\nSent from my iPhone\n\n> On Mar 15, 2018, at 4:16 PM, Matt Brookes <notifications@github.com> wrote:\n> \n> @yihangho Where in the docs would you expect to that?\n> \n> https://material-ui-next.com/style/color/\n> https://material-ui-next.com/customization/themes/\n> https://material-ui-next.com/customization/default-theme/\n> https://material-ui-next.com/getting-started/faq/\n> \n> Somewhere else?\n> Some / all of the above? :)\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"rsumner32"}}