{"action":"created","issue":{"url":"https://api.github.com/repos/yhatt/marp/issues/221","repository_url":"https://api.github.com/repos/yhatt/marp","labels_url":"https://api.github.com/repos/yhatt/marp/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/yhatt/marp/issues/221/comments","events_url":"https://api.github.com/repos/yhatt/marp/issues/221/events","html_url":"https://github.com/yhatt/marp/issues/221","id":320658827,"node_id":"MDU6SXNzdWUzMjA2NTg4Mjc=","number":221,"title":"[Feature Request] Wanted Global Gaia Theme has a template theme of white background.","user":{"login":"Keleir","id":7112075,"node_id":"MDQ6VXNlcjcxMTIwNzU=","avatar_url":"https://avatars0.githubusercontent.com/u/7112075?v=4","gravatar_id":"","url":"https://api.github.com/users/Keleir","html_url":"https://github.com/Keleir","followers_url":"https://api.github.com/users/Keleir/followers","following_url":"https://api.github.com/users/Keleir/following{/other_user}","gists_url":"https://api.github.com/users/Keleir/gists{/gist_id}","starred_url":"https://api.github.com/users/Keleir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keleir/subscriptions","organizations_url":"https://api.github.com/users/Keleir/orgs","repos_url":"https://api.github.com/users/Keleir/repos","events_url":"https://api.github.com/users/Keleir/events{/privacy}","received_events_url":"https://api.github.com/users/Keleir/received_events","type":"User","site_admin":false},"labels":[{"id":1031039386,"node_id":"MDU6TGFiZWwxMDMxMDM5Mzg2","url":"https://api.github.com/repos/yhatt/marp/labels/Supports%20in%20Marp%20Next","name":"Supports in Marp Next","color":"02669d","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T02:57:09Z","updated_at":"2018-10-08T16:47:59Z","closed_at":"2018-10-08T16:47:59Z","author_association":"NONE","body":"I am fond of the theme of `Gaia`,  but when I insert a image with white background the template both `<!-- *template: invert -->` and `<!-- *template: default -->` seems not well. \r\n<img width=\"727\" alt=\"2018-05-07 10 49 21\" src=\"https://user-images.githubusercontent.com/7112075/39682872-e81d7f6e-51e4-11e8-86c5-a1fcfbc74c92.png\">\r\n\r\n<img width=\"745\" alt=\"2018-05-07 10 46 33\" src=\"https://user-images.githubusercontent.com/7112075/39682918-1927c15a-51e5-11e8-8ef0-b0bf684bd061.png\">\r\n\r\n\r\nI prefer that The `Gaia` theme has a template of white background like this `<!-- *template: white -->`        to meet such needs.\r\n\r\n<img width=\"587\" alt=\"2018-05-07 10 46 58\" src=\"https://user-images.githubusercontent.com/7112075/39682926-281535c6-51e5-11e8-8c39-cc0f71d8092a.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/yhatt/marp/issues/comments/427904165","html_url":"https://github.com/yhatt/marp/issues/221#issuecomment-427904165","issue_url":"https://api.github.com/repos/yhatt/marp/issues/221","id":427904165,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzkwNDE2NQ==","user":{"login":"yhatt","id":3993388,"node_id":"MDQ6VXNlcjM5OTMzODg=","avatar_url":"https://avatars1.githubusercontent.com/u/3993388?v=4","gravatar_id":"","url":"https://api.github.com/users/yhatt","html_url":"https://github.com/yhatt","followers_url":"https://api.github.com/users/yhatt/followers","following_url":"https://api.github.com/users/yhatt/following{/other_user}","gists_url":"https://api.github.com/users/yhatt/gists{/gist_id}","starred_url":"https://api.github.com/users/yhatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhatt/subscriptions","organizations_url":"https://api.github.com/users/yhatt/orgs","repos_url":"https://api.github.com/users/yhatt/repos","events_url":"https://api.github.com/users/yhatt/events{/privacy}","received_events_url":"https://api.github.com/users/yhatt/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T16:47:59Z","updated_at":"2018-10-08T16:47:59Z","author_association":"OWNER","body":"You can use inline style as a workaround.\r\n\r\n```markdown\r\n<!--\r\n$theme: gaia\r\n*template: white\r\n-->\r\n\r\n<style>\r\n.slide_wrapper[data-template=\"white\"] .slide {\r\n  background: #fff !important;\r\n}\r\n</style>\r\n```\r\n\r\nIn [Marp Next](https://github.com/marp-team/marp), we have `backgroundColor` directive to support changing background color directly (came from [Marpit framework](https://marpit.marp.app/directives?id=backgrounds)). The below example would receive the same result in future.\r\n\r\n```markdown\r\n<!-- _backgroundColor: white -->\r\n```\r\n\r\n> `_` works as same as `*` in current Marp."}}
{"actor":{"display_login":"yhatt"}}