{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/design-system/issues/25","repository_url":"https://api.github.com/repos/Wikia/design-system","labels_url":"https://api.github.com/repos/Wikia/design-system/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/design-system/issues/25/comments","events_url":"https://api.github.com/repos/Wikia/design-system/issues/25/events","html_url":"https://github.com/Wikia/design-system/pull/25","id":169165535,"number":25,"title":"XW-1799 | Build individual SVGs","user":{"login":"rogatty","id":7030884,"avatar_url":"https://avatars.githubusercontent.com/u/7030884?v=3","gravatar_id":"","url":"https://api.github.com/users/rogatty","html_url":"https://github.com/rogatty","followers_url":"https://api.github.com/users/rogatty/followers","following_url":"https://api.github.com/users/rogatty/following{/other_user}","gists_url":"https://api.github.com/users/rogatty/gists{/gist_id}","starred_url":"https://api.github.com/users/rogatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogatty/subscriptions","organizations_url":"https://api.github.com/users/rogatty/orgs","repos_url":"https://api.github.com/users/rogatty/repos","events_url":"https://api.github.com/users/rogatty/events{/privacy}","received_events_url":"https://api.github.com/users/rogatty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-03T15:47:18Z","updated_at":"2016-08-04T12:17:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/design-system/pulls/25","html_url":"https://github.com/Wikia/design-system/pull/25","diff_url":"https://github.com/Wikia/design-system/pull/25.diff","patch_url":"https://github.com/Wikia/design-system/pull/25.patch"},"body":"https://wikia-inc.atlassian.net/browse/XW-1799\r\n\r\nWe need to build individual SVGs so they can be styled when inlined in the HTML. This PR:\r\n- replaces `fill` attributes in source files for icons with `class=\"fill\"`, it was being done during the build before\r\n- moves `/dist/*.svg` to `/dist/svg/*.svg` because now there is a lot of them\r\n- renames `company.svg` to `sprite-company.svg` and `icons.svg` to `sprite-icons.svg` to better reflect what they are\r\n- adds gulp task that builds individual SVGs\r\n  - name them like `wds-icons-facebook.svg` so we don't need [mapping in the app](https://github.com/Wikia/app/blob/58504e17c775dc61da7be2c81c1c7a01c0e09698/extensions/wikia/DesignSystem/DesignSystemHelper.class.php#L63-L77)"},"comment":{"url":"https://api.github.com/repos/Wikia/design-system/issues/comments/237536105","html_url":"https://github.com/Wikia/design-system/pull/25#issuecomment-237536105","issue_url":"https://api.github.com/repos/Wikia/design-system/issues/25","id":237536105,"user":{"login":"kvas-damian","id":2725894,"avatar_url":"https://avatars.githubusercontent.com/u/2725894?v=3","gravatar_id":"","url":"https://api.github.com/users/kvas-damian","html_url":"https://github.com/kvas-damian","followers_url":"https://api.github.com/users/kvas-damian/followers","following_url":"https://api.github.com/users/kvas-damian/following{/other_user}","gists_url":"https://api.github.com/users/kvas-damian/gists{/gist_id}","starred_url":"https://api.github.com/users/kvas-damian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvas-damian/subscriptions","organizations_url":"https://api.github.com/users/kvas-damian/orgs","repos_url":"https://api.github.com/users/kvas-damian/repos","events_url":"https://api.github.com/users/kvas-damian/events{/privacy}","received_events_url":"https://api.github.com/users/kvas-damian/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T12:17:48Z","updated_at":"2016-08-04T12:17:48Z","body":"Probably we don't need `class=fill` after merging https://github.com/Wikia/design-system/pull/26"}}
{"actor":{"display_login":"kvas-damian"}}