{"action":"closed","issue":{"url":"https://api.github.com/repos/arkon/ng2-inline-svg/issues/14","repository_url":"https://api.github.com/repos/arkon/ng2-inline-svg","labels_url":"https://api.github.com/repos/arkon/ng2-inline-svg/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/arkon/ng2-inline-svg/issues/14/comments","events_url":"https://api.github.com/repos/arkon/ng2-inline-svg/issues/14/events","html_url":"https://github.com/arkon/ng2-inline-svg/issues/14","id":190429991,"number":14,"title":"Why it doesn't change css style?","user":{"login":"junjunruan","id":13875577,"avatar_url":"https://avatars.githubusercontent.com/u/13875577?v=3","gravatar_id":"","url":"https://api.github.com/users/junjunruan","html_url":"https://github.com/junjunruan","followers_url":"https://api.github.com/users/junjunruan/followers","following_url":"https://api.github.com/users/junjunruan/following{/other_user}","gists_url":"https://api.github.com/users/junjunruan/gists{/gist_id}","starred_url":"https://api.github.com/users/junjunruan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junjunruan/subscriptions","organizations_url":"https://api.github.com/users/junjunruan/orgs","repos_url":"https://api.github.com/users/junjunruan/repos","events_url":"https://api.github.com/users/junjunruan/events{/privacy}","received_events_url":"https://api.github.com/users/junjunruan/received_events","type":"User","site_admin":false},"labels":[{"id":404702836,"url":"https://api.github.com/repos/arkon/ng2-inline-svg/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-18T21:49:30Z","updated_at":"2016-11-20T15:52:54Z","closed_at":"2016-11-20T15:52:54Z","body":"I am using angular version 2.1.2 and this package, but it can't change css style for svg.\r\nCan you help take a look it? \r\n\r\nBelow is my code:\r\n\r\ninside template of app.component.ts:\r\n```\r\n<div class=\"app-div\">App</div>\r\n<div class=\"demo-svg1\" aria-label=\"My icon 1\" [inlineSVG]=\"'./image.svg'\"></div>\r\n```\r\n\r\nIn css of app.component.ts:\r\n```\r\n.app-div {\r\n  color: red;\r\n}\r\n\r\nsvg {\r\n    fill: currentColor;\r\n}\r\n\r\n.demo-svg1 {\r\n    color: orangered;\r\n}\r\n```\r\n\r\nHere is the code in plunker: http://plnkr.co/edit/971LgsZTzqUq5vEY9cdF?p=preview. (just focus on code in component and css, as I can't include ng2-inline-svg package correctly on plunker)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"arkon"}}