{"action":"created","issue":{"url":"https://api.github.com/repos/eduardoboucas/include-media/issues/26","labels_url":"https://api.github.com/repos/eduardoboucas/include-media/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/eduardoboucas/include-media/issues/26/comments","events_url":"https://api.github.com/repos/eduardoboucas/include-media/issues/26/events","html_url":"https://github.com/eduardoboucas/include-media/issues/26","id":57736758,"number":26,"title":"Aliases for declarations","user":{"login":"hudochenkov","id":654597,"avatar_url":"https://avatars.githubusercontent.com/u/654597?v=3","gravatar_id":"","url":"https://api.github.com/users/hudochenkov","html_url":"https://github.com/hudochenkov","followers_url":"https://api.github.com/users/hudochenkov/followers","following_url":"https://api.github.com/users/hudochenkov/following{/other_user}","gists_url":"https://api.github.com/users/hudochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/hudochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hudochenkov/subscriptions","organizations_url":"https://api.github.com/users/hudochenkov/orgs","repos_url":"https://api.github.com/users/hudochenkov/repos","events_url":"https://api.github.com/users/hudochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/hudochenkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T16:56:39Z","updated_at":"2015-02-15T19:56:51Z","closed_at":null,"body":"Is there any ability for declarations aliases. For example, I have a lot of phone only styles. I prefer to specify something like:\r\n\r\n```scss\r\n@include media(\"palm\") { }\r\n```\r\n\r\nrather than:\r\n\r\n```scss\r\n@include media(\"<=phone\") { }\r\n```\r\n\r\nOr for tablet only I want something like:\r\n\r\n```scss\r\n@include media(\"lap\") { }\r\n```\r\n\r\ninstead of:\r\n\r\n```scss\r\n@include media(\">phone\", \"<=tablet\") { }\r\n```\r\n\r\nSure I can use mixins aliases:\r\n\r\n```scss\r\n@mixin lap {\r\n    @include media(\">phone\", \"<=tablet\") {\r\n        @content;\r\n    }\r\n}\r\n\r\ndiv {\r\n    @include lap {\r\n        color: red;\r\n    }\r\n}\r\n```\r\n\r\nbut it's not so flexible if I, for example, want add \"retina\" declaration for one particular rule."},"comment":{"url":"https://api.github.com/repos/eduardoboucas/include-media/issues/comments/74433695","html_url":"https://github.com/eduardoboucas/include-media/issues/26#issuecomment-74433695","issue_url":"https://api.github.com/repos/eduardoboucas/include-media/issues/26","id":74433695,"user":{"login":"joseluis","id":5832068,"avatar_url":"https://avatars.githubusercontent.com/u/5832068?v=3","gravatar_id":"","url":"https://api.github.com/users/joseluis","html_url":"https://github.com/joseluis","followers_url":"https://api.github.com/users/joseluis/followers","following_url":"https://api.github.com/users/joseluis/following{/other_user}","gists_url":"https://api.github.com/users/joseluis/gists{/gist_id}","starred_url":"https://api.github.com/users/joseluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseluis/subscriptions","organizations_url":"https://api.github.com/users/joseluis/orgs","repos_url":"https://api.github.com/users/joseluis/repos","events_url":"https://api.github.com/users/joseluis/events{/privacy}","received_events_url":"https://api.github.com/users/joseluis/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T19:56:51Z","updated_at":"2015-02-15T19:56:51Z","body":"You can always use variables:\r\n```\r\n$palm: \"<=phone\";\r\n$lap: \">phone\", \"<=tablet\";\r\n\r\n@include media( $palm ) { }\r\n@include media( $lap ) { }\r\n```"}}