{"action":"created","issue":{"url":"https://api.github.com/repos/javivelasco/react-css-themr/issues/16","repository_url":"https://api.github.com/repos/javivelasco/react-css-themr","labels_url":"https://api.github.com/repos/javivelasco/react-css-themr/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/javivelasco/react-css-themr/issues/16/comments","events_url":"https://api.github.com/repos/javivelasco/react-css-themr/issues/16/events","html_url":"https://github.com/javivelasco/react-css-themr/issues/16","id":172484260,"number":16,"title":"Context class order","user":{"login":"k0r8i","id":17675159,"avatar_url":"https://avatars.githubusercontent.com/u/17675159?v=3","gravatar_id":"","url":"https://api.github.com/users/k0r8i","html_url":"https://github.com/k0r8i","followers_url":"https://api.github.com/users/k0r8i/followers","following_url":"https://api.github.com/users/k0r8i/following{/other_user}","gists_url":"https://api.github.com/users/k0r8i/gists{/gist_id}","starred_url":"https://api.github.com/users/k0r8i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0r8i/subscriptions","organizations_url":"https://api.github.com/users/k0r8i/orgs","repos_url":"https://api.github.com/users/k0r8i/repos","events_url":"https://api.github.com/users/k0r8i/events{/privacy}","received_events_url":"https://api.github.com/users/k0r8i/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-22T15:36:05Z","updated_at":"2016-08-22T16:17:19Z","closed_at":null,"body":"Hi there!\r\nFirst of all - thanks a lot for your library!\r\nI was working now quite a bit on some issue I tried to solve.\r\nLet's assume I do have a default button from react-toolbox/lib/button\r\nthat I'd love to style using ThemeProvider.\r\nI do add my own styles through RTButton and expect default values to be overwritten.\r\nThey'll get rendered into something like class=\"test__button___hPsIx [...]\".\r\nThough when looking at the output, I get the default stylesheet set second in place (which will therefore overwrite my own styles set in test__button___hp...)\r\nThe whole class looks something like class=\"test__button___hPsIx theme__button___1iKuo \" whereas second in place is the default lib/button style.\r\n\r\nWhat's the easiest way to overwrite default styles without using !important all the time? Is there by chance a possibility to re-arrange class order - or some other way possible I'm not quite aware of?\r\n\r\nCheers\r\nKorbi"},"comment":{"url":"https://api.github.com/repos/javivelasco/react-css-themr/issues/comments/241466202","html_url":"https://github.com/javivelasco/react-css-themr/issues/16#issuecomment-241466202","issue_url":"https://api.github.com/repos/javivelasco/react-css-themr/issues/16","id":241466202,"user":{"login":"javivelasco","id":1634922,"avatar_url":"https://avatars.githubusercontent.com/u/1634922?v=3","gravatar_id":"","url":"https://api.github.com/users/javivelasco","html_url":"https://github.com/javivelasco","followers_url":"https://api.github.com/users/javivelasco/followers","following_url":"https://api.github.com/users/javivelasco/following{/other_user}","gists_url":"https://api.github.com/users/javivelasco/gists{/gist_id}","starred_url":"https://api.github.com/users/javivelasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javivelasco/subscriptions","organizations_url":"https://api.github.com/users/javivelasco/orgs","repos_url":"https://api.github.com/users/javivelasco/repos","events_url":"https://api.github.com/users/javivelasco/events{/privacy}","received_events_url":"https://api.github.com/users/javivelasco/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T16:17:19Z","updated_at":"2016-08-22T16:17:19Z","body":"One more thing. The most common use case for the context in react toolbox is when you import every component raw and feed the styles through there. So you may want to add styles for every component used in your application. This is exactly what the new playground is going to do: processing the theme live using postcss and then process it using postcss-modules to get a module that can be injected in the ThemeProvider. 😁"}}
{"actor":{"display_login":"javivelasco"}}