{"action":"opened","issue":{"url":"https://api.github.com/repos/mcstudios/glightbox/issues/37","repository_url":"https://api.github.com/repos/mcstudios/glightbox","labels_url":"https://api.github.com/repos/mcstudios/glightbox/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/mcstudios/glightbox/issues/37/comments","events_url":"https://api.github.com/repos/mcstudios/glightbox/issues/37/events","html_url":"https://github.com/mcstudios/glightbox/issues/37","id":383588297,"node_id":"MDU6SXNzdWUzODM1ODgyOTc=","number":37,"title":"Use svg instead of png for closing button","user":{"login":"obendev","id":41986129,"node_id":"MDQ6VXNlcjQxOTg2MTI5","avatar_url":"https://avatars0.githubusercontent.com/u/41986129?v=4","gravatar_id":"","url":"https://api.github.com/users/obendev","html_url":"https://github.com/obendev","followers_url":"https://api.github.com/users/obendev/followers","following_url":"https://api.github.com/users/obendev/following{/other_user}","gists_url":"https://api.github.com/users/obendev/gists{/gist_id}","starred_url":"https://api.github.com/users/obendev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obendev/subscriptions","organizations_url":"https://api.github.com/users/obendev/orgs","repos_url":"https://api.github.com/users/obendev/repos","events_url":"https://api.github.com/users/obendev/events{/privacy}","received_events_url":"https://api.github.com/users/obendev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-22T15:47:57Z","updated_at":"2018-11-22T15:47:57Z","closed_at":null,"author_association":"NONE","body":"Hey!\r\nInstead of the background png on `.glightbox-clean .gclose,.glightbox-clean .gnext,.glightbox-clean .gprev` you could use a svg.\r\nExample:\r\n```\r\n<svg xmlns=\"http://www.w3.org/2000/svg\"  viewBox=\"0 0 320 512\">\r\n  <path d=\"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z\"/>\r\n</svg>\r\n```\r\n(You have to adjust the size on the viewBox)\r\nWant to use it as a background-image? No problem!\r\nhttps://websemantics.uk/tools/svg-to-background-image-conversion/\r\n\r\nGreat lightbox, never have seen a better one before, especially with vanilla JS, keep up the good work!"}}
{"actor":{"display_login":"obendev"}}