{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/status-react/issues/903","repository_url":"https://api.github.com/repos/status-im/status-react","labels_url":"https://api.github.com/repos/status-im/status-react/issues/903/labels{/name}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/903/comments","events_url":"https://api.github.com/repos/status-im/status-react/issues/903/events","html_url":"https://github.com/status-im/status-react/pull/903","id":214506338,"number":903,"title":"defstyles and defnstyles macro","user":{"login":"rasom","id":2364994,"avatar_url":"https://avatars1.githubusercontent.com/u/2364994?v=3","gravatar_id":"","url":"https://api.github.com/users/rasom","html_url":"https://github.com/rasom","followers_url":"https://api.github.com/users/rasom/followers","following_url":"https://api.github.com/users/rasom/following{/other_user}","gists_url":"https://api.github.com/users/rasom/gists{/gist_id}","starred_url":"https://api.github.com/users/rasom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasom/subscriptions","organizations_url":"https://api.github.com/users/rasom/orgs","repos_url":"https://api.github.com/users/rasom/repos","events_url":"https://api.github.com/users/rasom/events{/privacy}","received_events_url":"https://api.github.com/users/rasom/received_events","type":"User","site_admin":false},"labels":[{"id":365005964,"url":"https://api.github.com/repos/status-im/status-react/labels/ready","name":"ready","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T19:51:59Z","updated_at":"2017-03-16T07:47:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/status-im/status-react/pulls/903","html_url":"https://github.com/status-im/status-react/pull/903","diff_url":"https://github.com/status-im/status-react/pull/903.diff","patch_url":"https://github.com/status-im/status-react/pull/903.patch"},"body":"Provides macro for declaring platfom specific styles.\r\n\r\n[comment]: # (PRs will only be accepted if squashed into single commit.)\r\nstatus: ready\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/status-im/status-react/issues/comments/286981535","html_url":"https://github.com/status-im/status-react/pull/903#issuecomment-286981535","issue_url":"https://api.github.com/repos/status-im/status-react/issues/903","id":286981535,"user":{"login":"flexsurfer","id":11790366,"avatar_url":"https://avatars2.githubusercontent.com/u/11790366?v=3","gravatar_id":"","url":"https://api.github.com/users/flexsurfer","html_url":"https://github.com/flexsurfer","followers_url":"https://api.github.com/users/flexsurfer/followers","following_url":"https://api.github.com/users/flexsurfer/following{/other_user}","gists_url":"https://api.github.com/users/flexsurfer/gists{/gist_id}","starred_url":"https://api.github.com/users/flexsurfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexsurfer/subscriptions","organizations_url":"https://api.github.com/users/flexsurfer/orgs","repos_url":"https://api.github.com/users/flexsurfer/repos","events_url":"https://api.github.com/users/flexsurfer/events{/privacy}","received_events_url":"https://api.github.com/users/flexsurfer/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T07:47:27Z","updated_at":"2017-03-16T07:47:27Z","body":"@rasom it would be great to have similar macro for text styles \r\n\r\n```\r\n[text {:style st/show-all-text\r\n          :uppercase? (get-in platform-specific [:uppercase?]) (true/false)\r\n          :font (get-in platform-specific [:component-styles :contacts :show-all-text-font])} (:medium/:ight..)\r\n```\r\n\r\nso we could write `[text st/style-name]`\r\n\r\nand style\r\n```\r\n(deftextstyle style-name\r\n    {:color 5\r\n     :android {:uppercase? true}\r\n     :ios {:font :medium}}\r\n```"}}
{"actor":{"display_login":"flexsurfer"}}