{"action":"created","issue":{"url":"https://api.github.com/repos/css-modules/css-modules/issues/251","repository_url":"https://api.github.com/repos/css-modules/css-modules","labels_url":"https://api.github.com/repos/css-modules/css-modules/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/css-modules/css-modules/issues/251/comments","events_url":"https://api.github.com/repos/css-modules/css-modules/issues/251/events","html_url":"https://github.com/css-modules/css-modules/issues/251","id":240246162,"number":251,"title":"Pseudo classes and `composes`","user":{"login":"coot","id":698209,"avatar_url":"https://avatars1.githubusercontent.com/u/698209?v=3","gravatar_id":"","url":"https://api.github.com/users/coot","html_url":"https://github.com/coot","followers_url":"https://api.github.com/users/coot/followers","following_url":"https://api.github.com/users/coot/following{/other_user}","gists_url":"https://api.github.com/users/coot/gists{/gist_id}","starred_url":"https://api.github.com/users/coot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coot/subscriptions","organizations_url":"https://api.github.com/users/coot/orgs","repos_url":"https://api.github.com/users/coot/repos","events_url":"https://api.github.com/users/coot/events{/privacy}","received_events_url":"https://api.github.com/users/coot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-03T19:04:20Z","updated_at":"2017-07-03T22:13:54Z","closed_at":null,"body":"When I have two rules:\r\n\r\n```\r\n.error {\r\n  color: red}\r\n}\r\n\r\n.error:before {\r\n   content: \"ERROR: \"\r\n   color: orange;\r\n}\r\n ```\r\n\r\nAnd in another file I do\r\n```\r\n.message {\r\n  composes: error from \"./errors.css\";\r\n}\r\n```\r\n\r\n\r\nThe two css styles for `.error` and `.error:before` get inlined into one rule rather than a `.message` plus `.message:before`.  Is this en expected behaviour?"},"comment":{"url":"https://api.github.com/repos/css-modules/css-modules/issues/comments/312742170","html_url":"https://github.com/css-modules/css-modules/issues/251#issuecomment-312742170","issue_url":"https://api.github.com/repos/css-modules/css-modules/issues/251","id":312742170,"user":{"login":"TrySound","id":5635476,"avatar_url":"https://avatars3.githubusercontent.com/u/5635476?v=3","gravatar_id":"","url":"https://api.github.com/users/TrySound","html_url":"https://github.com/TrySound","followers_url":"https://api.github.com/users/TrySound/followers","following_url":"https://api.github.com/users/TrySound/following{/other_user}","gists_url":"https://api.github.com/users/TrySound/gists{/gist_id}","starred_url":"https://api.github.com/users/TrySound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrySound/subscriptions","organizations_url":"https://api.github.com/users/TrySound/orgs","repos_url":"https://api.github.com/users/TrySound/repos","events_url":"https://api.github.com/users/TrySound/events{/privacy}","received_events_url":"https://api.github.com/users/TrySound/received_events","type":"User","site_admin":false},"created_at":"2017-07-03T22:13:54Z","updated_at":"2017-07-03T22:13:54Z","body":"@coot Yep. If you will go deep into implementation, you will see that composes is not another one mixins clone. It's just compositon of a fiew classes in one exported name. Composition is functional way to build efficient systems, not inheritence where everything is thrown into a one hole."}}
{"actor":{"display_login":"TrySound"}}