{"action":"opened","issue":{"url":"https://api.github.com/repos/bendyorke/boot-postcss/issues/7","repository_url":"https://api.github.com/repos/bendyorke/boot-postcss","labels_url":"https://api.github.com/repos/bendyorke/boot-postcss/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/bendyorke/boot-postcss/issues/7/comments","events_url":"https://api.github.com/repos/bendyorke/boot-postcss/issues/7/events","html_url":"https://github.com/bendyorke/boot-postcss/issues/7","id":135253612,"number":7,"title":"Better macros for requiring modules","user":{"login":"bendyorke","id":3488879,"avatar_url":"https://avatars.githubusercontent.com/u/3488879?v=3","gravatar_id":"","url":"https://api.github.com/users/bendyorke","html_url":"https://github.com/bendyorke","followers_url":"https://api.github.com/users/bendyorke/followers","following_url":"https://api.github.com/users/bendyorke/following{/other_user}","gists_url":"https://api.github.com/users/bendyorke/gists{/gist_id}","starred_url":"https://api.github.com/users/bendyorke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendyorke/subscriptions","organizations_url":"https://api.github.com/users/bendyorke/orgs","repos_url":"https://api.github.com/users/bendyorke/repos","events_url":"https://api.github.com/users/bendyorke/events{/privacy}","received_events_url":"https://api.github.com/users/bendyorke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bendyorke/boot-postcss/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bendyorke/boot-postcss/milestones/1","html_url":"https://github.com/bendyorke/boot-postcss/milestones/v1.0.0","labels_url":"https://api.github.com/repos/bendyorke/boot-postcss/milestones/1/labels","id":1595808,"number":1,"title":"v1.0.0","description":null,"creator":{"login":"bendyorke","id":3488879,"avatar_url":"https://avatars.githubusercontent.com/u/3488879?v=3","gravatar_id":"","url":"https://api.github.com/users/bendyorke","html_url":"https://github.com/bendyorke","followers_url":"https://api.github.com/users/bendyorke/followers","following_url":"https://api.github.com/users/bendyorke/following{/other_user}","gists_url":"https://api.github.com/users/bendyorke/gists{/gist_id}","starred_url":"https://api.github.com/users/bendyorke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendyorke/subscriptions","organizations_url":"https://api.github.com/users/bendyorke/orgs","repos_url":"https://api.github.com/users/bendyorke/repos","events_url":"https://api.github.com/users/bendyorke/events{/privacy}","received_events_url":"https://api.github.com/users/bendyorke/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-02-21T20:02:50Z","updated_at":"2016-02-21T20:20:28Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-21T20:20:28Z","updated_at":"2016-02-21T20:20:28Z","closed_at":null,"body":"Currently only a 'slurp' macro is defined, so the user can read from the 'css_modules.edn' file.  Higher level macros would be far preferred.  At the very least, something like:\r\n\r\n```\r\n(:require-macros [bendyorke.boot-postcss :refer [css-module]])\r\n...\r\n(css-module :css/foo :bar)\r\n```\r\n\r\nAnother option would be to provide more specific macros:\r\n\r\n```\r\n(:require-macros [bendyorke.boot-postcss :refer [css/foo]])\r\n...\r\n(css/foo :bar)\r\n```\r\n\r\nOr defining namespaces:\r\n\r\n```\r\n(:require [cssm.css.foo :refer [bar]])\r\n...\r\nbar\r\n```\r\n\r\nPreferably my name wouldn't be at the top of everyone file :)"}}