{"action":"created","issue":{"url":"https://api.github.com/repos/patternpack/patternpack-example-theme/issues/6","labels_url":"https://api.github.com/repos/patternpack/patternpack-example-theme/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/patternpack/patternpack-example-theme/issues/6/comments","events_url":"https://api.github.com/repos/patternpack/patternpack-example-theme/issues/6/events","html_url":"https://github.com/patternpack/patternpack-example-theme/pull/6","id":120864347,"number":6,"title":"Fix the bleeding of PatternPack global selectors","user":{"login":"marcelosomers","id":444616,"avatar_url":"https://avatars.githubusercontent.com/u/444616?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelosomers","html_url":"https://github.com/marcelosomers","followers_url":"https://api.github.com/users/marcelosomers/followers","following_url":"https://api.github.com/users/marcelosomers/following{/other_user}","gists_url":"https://api.github.com/users/marcelosomers/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelosomers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelosomers/subscriptions","organizations_url":"https://api.github.com/users/marcelosomers/orgs","repos_url":"https://api.github.com/users/marcelosomers/repos","events_url":"https://api.github.com/users/marcelosomers/events{/privacy}","received_events_url":"https://api.github.com/users/marcelosomers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"johngully","id":879479,"avatar_url":"https://avatars.githubusercontent.com/u/879479?v=3","gravatar_id":"","url":"https://api.github.com/users/johngully","html_url":"https://github.com/johngully","followers_url":"https://api.github.com/users/johngully/followers","following_url":"https://api.github.com/users/johngully/following{/other_user}","gists_url":"https://api.github.com/users/johngully/gists{/gist_id}","starred_url":"https://api.github.com/users/johngully/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngully/subscriptions","organizations_url":"https://api.github.com/users/johngully/orgs","repos_url":"https://api.github.com/users/johngully/repos","events_url":"https://api.github.com/users/johngully/events{/privacy}","received_events_url":"https://api.github.com/users/johngully/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-07T20:48:38Z","updated_at":"2015-12-09T05:06:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/patternpack/patternpack-example-theme/pulls/6","html_url":"https://github.com/patternpack/patternpack-example-theme/pull/6","diff_url":"https://github.com/patternpack/patternpack-example-theme/pull/6.diff","patch_url":"https://github.com/patternpack/patternpack-example-theme/pull/6.patch"},"body":"This fixes #5 - the PatternPack styles (specifically typography and tables) would bleed into `.library__example` because of the `:not()` CSS selector being used improperly.\r\n\r\nThis has been tested and none of the styles now bleed in."},"comment":{"url":"https://api.github.com/repos/patternpack/patternpack-example-theme/issues/comments/163109715","html_url":"https://github.com/patternpack/patternpack-example-theme/pull/6#issuecomment-163109715","issue_url":"https://api.github.com/repos/patternpack/patternpack-example-theme/issues/6","id":163109715,"user":{"login":"marcelosomers","id":444616,"avatar_url":"https://avatars.githubusercontent.com/u/444616?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelosomers","html_url":"https://github.com/marcelosomers","followers_url":"https://api.github.com/users/marcelosomers/followers","following_url":"https://api.github.com/users/marcelosomers/following{/other_user}","gists_url":"https://api.github.com/users/marcelosomers/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelosomers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelosomers/subscriptions","organizations_url":"https://api.github.com/users/marcelosomers/orgs","repos_url":"https://api.github.com/users/marcelosomers/repos","events_url":"https://api.github.com/users/marcelosomers/events{/privacy}","received_events_url":"https://api.github.com/users/marcelosomers/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T05:06:12Z","updated_at":"2015-12-09T05:06:12Z","body":"Good point. I have a documentation block in the CSS itself that explains technically how it works with references, but we should keep some info here as reference as well.\r\n\r\nThe issue was that we need to be able to style the documentation without it bleeding into the examples themselves. By using the direct descendent (`>`) of `.library__example` and also saying it's `:not(.library__example)` we ensure that each style does not bleed into the examples."}}