{"action":"created","issue":{"url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet/issues/23","repository_url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet","labels_url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet/issues/23/comments","events_url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet/issues/23/events","html_url":"https://github.com/vitalets/react-native-extended-stylesheet/issues/23","id":172417664,"number":23,"title":"add composition from 'cssModules'","user":{"login":"pvpshoot","id":6636655,"avatar_url":"https://avatars.githubusercontent.com/u/6636655?v=3","gravatar_id":"","url":"https://api.github.com/users/pvpshoot","html_url":"https://github.com/pvpshoot","followers_url":"https://api.github.com/users/pvpshoot/followers","following_url":"https://api.github.com/users/pvpshoot/following{/other_user}","gists_url":"https://api.github.com/users/pvpshoot/gists{/gist_id}","starred_url":"https://api.github.com/users/pvpshoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvpshoot/subscriptions","organizations_url":"https://api.github.com/users/pvpshoot/orgs","repos_url":"https://api.github.com/users/pvpshoot/repos","events_url":"https://api.github.com/users/pvpshoot/events{/privacy}","received_events_url":"https://api.github.com/users/pvpshoot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T10:24:06Z","updated_at":"2016-08-26T04:24:44Z","closed_at":null,"body":"How about to add Composition?\r\nsomething like that: \r\n```javascript\r\nconst styles = EStyleSheet.create({\r\n  icon: {\r\n    color: '$dark',\r\n    fontSize: '1.4rem',\r\n  },\r\n  icon__succes: {\r\n    composes: 'icon',\r\n    fontSize: '1rem',\r\n  },\r\n});\r\n```\r\nhttps://github.com/css-modules/css-modules#composition"},"comment":{"url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet/issues/comments/242627210","html_url":"https://github.com/vitalets/react-native-extended-stylesheet/issues/23#issuecomment-242627210","issue_url":"https://api.github.com/repos/vitalets/react-native-extended-stylesheet/issues/23","id":242627210,"user":{"login":"brunolemos","id":619186,"avatar_url":"https://avatars.githubusercontent.com/u/619186?v=3","gravatar_id":"","url":"https://api.github.com/users/brunolemos","html_url":"https://github.com/brunolemos","followers_url":"https://api.github.com/users/brunolemos/followers","following_url":"https://api.github.com/users/brunolemos/following{/other_user}","gists_url":"https://api.github.com/users/brunolemos/gists{/gist_id}","starred_url":"https://api.github.com/users/brunolemos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunolemos/subscriptions","organizations_url":"https://api.github.com/users/brunolemos/orgs","repos_url":"https://api.github.com/users/brunolemos/repos","events_url":"https://api.github.com/users/brunolemos/events{/privacy}","received_events_url":"https://api.github.com/users/brunolemos/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T04:24:43Z","updated_at":"2016-08-26T04:24:43Z","body":"@pvpshoot why not just use the power of js? something like this:\r\n\r\n```js\r\nconst icon = {\r\n  color: '$dark',\r\n  fontSize: '1.4rem',\r\n};\r\n\r\nconst styles = EStyleSheet.create({\r\n  icon,\r\n  icon__success: {\r\n    ...icon,\r\n    fontSize: '1rem',\r\n  },\r\n});\r\n```"}}
{"actor":{"display_login":"brunolemos"}}