{"action":"closed","issue":{"url":"https://api.github.com/repos/malyw/css-vars/issues/1","repository_url":"https://api.github.com/repos/malyw/css-vars","labels_url":"https://api.github.com/repos/malyw/css-vars/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/malyw/css-vars/issues/1/comments","events_url":"https://api.github.com/repos/malyw/css-vars/issues/1/events","html_url":"https://github.com/malyw/css-vars/issues/1","id":223018209,"number":1,"title":"Declaring variables inside selectors and redefine variable inside nested media query doesn't work","user":{"login":"judewang","id":1559819,"avatar_url":"https://avatars3.githubusercontent.com/u/1559819?v=3","gravatar_id":"","url":"https://api.github.com/users/judewang","html_url":"https://github.com/judewang","followers_url":"https://api.github.com/users/judewang/followers","following_url":"https://api.github.com/users/judewang/following{/other_user}","gists_url":"https://api.github.com/users/judewang/gists{/gist_id}","starred_url":"https://api.github.com/users/judewang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judewang/subscriptions","organizations_url":"https://api.github.com/users/judewang/orgs","repos_url":"https://api.github.com/users/judewang/repos","events_url":"https://api.github.com/users/judewang/events{/privacy}","received_events_url":"https://api.github.com/users/judewang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-20T10:19:05Z","updated_at":"2017-04-20T14:25:09Z","closed_at":"2017-04-20T14:25:09Z","body":"Hi, I just read the post on Smashing Magazine and want to give this a try. Here's the issue I met.\r\n\r\n```\r\n  .cell__subtitle {\r\n    @include css-vars(( --margin-left: r(1) ));\r\n    display    : inline-block;\r\n    margin-left: var(--margin-left);\r\n    font-size  : 12px;\r\n    @include susy($tablet) {\r\n      display: block;\r\n      @include css-vars(( --margin-left: 0 ));\r\n    }\r\n  }\r\n```\r\n\r\nThe `margin-left: 0` didn't show in browser inspector, but when using this in native way, it worked."}}
{"actor":{"display_login":"malyw"}}