{"action":"opened","issue":{"url":"https://api.github.com/repos/sprity/sprity/issues/11","labels_url":"https://api.github.com/repos/sprity/sprity/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/sprity/sprity/issues/11/comments","events_url":"https://api.github.com/repos/sprity/sprity/issues/11/events","html_url":"https://github.com/sprity/sprity/issues/11","id":84507613,"number":11,"title":"Retina Sizing Not Working Correctly","user":{"login":"benjaminx3000","id":356261,"avatar_url":"https://avatars.githubusercontent.com/u/356261?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminx3000","html_url":"https://github.com/benjaminx3000","followers_url":"https://api.github.com/users/benjaminx3000/followers","following_url":"https://api.github.com/users/benjaminx3000/following{/other_user}","gists_url":"https://api.github.com/users/benjaminx3000/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminx3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminx3000/subscriptions","organizations_url":"https://api.github.com/users/benjaminx3000/orgs","repos_url":"https://api.github.com/users/benjaminx3000/repos","events_url":"https://api.github.com/users/benjaminx3000/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminx3000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T11:29:30Z","updated_at":"2015-06-03T11:29:30Z","closed_at":null,"body":"When processing sprites with an  @2x variant, css dimensions should be half of what the full size image should be.\r\nFor example, using the options \r\n```\r\ndimension: [\r\n\t{ratio: 1, dpi: 72},\r\n\t{ratio: 2, dpi: 144}\r\n],\r\n```\r\nand a source image is 50px by 50px,\r\nthe css output should be \r\n```\r\n{height: 25px, width: 25px}\r\n@media(-webkit-min-device-pixel-ratio: 2) {\r\n    background-image: url('sprite@2x.png);\r\n    background-size: 25px 25px;\r\n}\r\n```\r\n\r\nThe sprite image files being out put seem to be correct, just the css template seems to be be applied backwards."}}