{"action":"closed","issue":{"url":"https://api.github.com/repos/fponticelli/doom/issues/9","repository_url":"https://api.github.com/repos/fponticelli/doom","labels_url":"https://api.github.com/repos/fponticelli/doom/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/fponticelli/doom/issues/9/comments","events_url":"https://api.github.com/repos/fponticelli/doom/issues/9/events","html_url":"https://github.com/fponticelli/doom/issues/9","id":126052543,"number":9,"title":"Possible way to embed styles for Components","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars0.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-11T22:32:32Z","updated_at":"2017-05-05T14:28:03Z","closed_at":"2017-05-05T14:28:02Z","body":"Create an initialization macro function that would be invoked like: `haxe --macro Doom.cssPath(\"../some/path/master.css\")`.  This function should save the file path in a static variable for future macro use.\n\nEach `Component` can then define a `@:style(\"comp.css\")` meta (at the class level) to specify the path to a .css file for the component.\n\nThe AutoComponentBuild macro should load the .css file for each component (if specified), and append the contents in the master file specified by the Doom.cssPath init macro.  This way, each component in the app can have a style sheet that is automatically combined with all other components.  The `@:style` macro might need a way to specify or generate a unique class name for the component.\n\nNot sure if this will work...\n"}}
{"actor":{"display_login":"fponticelli"}}