{"action":"created","issue":{"url":"https://api.github.com/repos/styled-components/styled-components/issues/8","repository_url":"https://api.github.com/repos/styled-components/styled-components","labels_url":"https://api.github.com/repos/styled-components/styled-components/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/styled-components/styled-components/issues/8/comments","events_url":"https://api.github.com/repos/styled-components/styled-components/issues/8/events","html_url":"https://github.com/styled-components/styled-components/issues/8","id":174944356,"number":8,"title":"Overriding","user":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"labels":[{"id":425493754,"url":"https://api.github.com/repos/styled-components/styled-components/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-09-04T11:32:40Z","updated_at":"2016-11-24T20:35:06Z","closed_at":"2016-09-12T16:20:57Z","body":"For some reason I thought this would work:\n\n``` JS\nconst Block = styled.div`\n  background-color: blue;\n  color: white;\n`;\n\n// Override Block and give it a red background, using all other styles (i.e. just adding another class that overrides the background-color\nconst EmergencyBlock = styled(Block)`\n  background-color: red;\n`;\n```\n\nCan we make this work? That would be a great overriding mechanism.\n"},"comment":{"url":"https://api.github.com/repos/styled-components/styled-components/issues/comments/262841794","html_url":"https://github.com/styled-components/styled-components/issues/8#issuecomment-262841794","issue_url":"https://api.github.com/repos/styled-components/styled-components/issues/8","id":262841794,"user":{"login":"davibe","id":123929,"avatar_url":"https://avatars.githubusercontent.com/u/123929?v=3","gravatar_id":"","url":"https://api.github.com/users/davibe","html_url":"https://github.com/davibe","followers_url":"https://api.github.com/users/davibe/followers","following_url":"https://api.github.com/users/davibe/following{/other_user}","gists_url":"https://api.github.com/users/davibe/gists{/gist_id}","starred_url":"https://api.github.com/users/davibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davibe/subscriptions","organizations_url":"https://api.github.com/users/davibe/orgs","repos_url":"https://api.github.com/users/davibe/repos","events_url":"https://api.github.com/users/davibe/events{/privacy}","received_events_url":"https://api.github.com/users/davibe/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T20:35:06Z","updated_at":"2016-11-24T20:35:06Z","body":"@mxstbr just to be clear. If i do it like that the rendered component will have BOTH the class i specified and the one generated by styled, right ?"}}
{"actor":{"display_login":"davibe"}}