{"action":"created","issue":{"url":"https://api.github.com/repos/alfa-laboratory/arui-feather/issues/704","repository_url":"https://api.github.com/repos/alfa-laboratory/arui-feather","labels_url":"https://api.github.com/repos/alfa-laboratory/arui-feather/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/alfa-laboratory/arui-feather/issues/704/comments","events_url":"https://api.github.com/repos/alfa-laboratory/arui-feather/issues/704/events","html_url":"https://github.com/alfa-laboratory/arui-feather/issues/704","id":345659689,"node_id":"MDU6SXNzdWUzNDU2NTk2ODk=","number":704,"title":"Необходимо перейти на `postcss-css-variables`","user":{"login":"ivansky","id":3938372,"node_id":"MDQ6VXNlcjM5MzgzNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/3938372?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansky","html_url":"https://github.com/ivansky","followers_url":"https://api.github.com/users/ivansky/followers","following_url":"https://api.github.com/users/ivansky/following{/other_user}","gists_url":"https://api.github.com/users/ivansky/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansky/subscriptions","organizations_url":"https://api.github.com/users/ivansky/orgs","repos_url":"https://api.github.com/users/ivansky/repos","events_url":"https://api.github.com/users/ivansky/events{/privacy}","received_events_url":"https://api.github.com/users/ivansky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T08:29:21Z","updated_at":"2018-07-30T08:32:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Переменные (custom properties) работают не так как ожидается.\r\n\r\n```\r\n.block {\r\n    --modal-width: 660px;\r\n    --border-radius: 8px;\r\n\r\n    @media (--small-only) {\r\n        --modal-width: 100%;\r\n        --border-radius: 0;\r\n    }\r\n\r\n    &__element {\r\n        width: var(--modal-width);\r\n        border-radius: var(--border-radius);\r\n    }\r\n}\r\n```\r\n\r\n## Ожидаемое поведение\r\n```\r\n.block__element {\r\n    width: 660px;\r\n    border-radius: 8px;\r\n}\r\n\r\n@media (--small-only) {\r\n    .block__element {\r\n        width: 100%;\r\n        border-radius: 0;\r\n    }\r\n}\r\n```\r\n## Актуальное поведение\r\n```\r\n.block__element {\r\n    width: var(--modal-width);\r\n    border-radius: var(--border-radius);\r\n}\r\n```\r\n## Возможное решение\r\nПерейти с [postcss-custom-properties](https://github.com/postcss/postcss-custom-properties)  на [postcss-css-variables](https://github.com/MadLittleMods/postcss-css-variables)"},"comment":{"url":"https://api.github.com/repos/alfa-laboratory/arui-feather/issues/comments/408788187","html_url":"https://github.com/alfa-laboratory/arui-feather/issues/704#issuecomment-408788187","issue_url":"https://api.github.com/repos/alfa-laboratory/arui-feather/issues/704","id":408788187,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODc4ODE4Nw==","user":{"login":"ivansky","id":3938372,"node_id":"MDQ6VXNlcjM5MzgzNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/3938372?v=4","gravatar_id":"","url":"https://api.github.com/users/ivansky","html_url":"https://github.com/ivansky","followers_url":"https://api.github.com/users/ivansky/followers","following_url":"https://api.github.com/users/ivansky/following{/other_user}","gists_url":"https://api.github.com/users/ivansky/gists{/gist_id}","starred_url":"https://api.github.com/users/ivansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivansky/subscriptions","organizations_url":"https://api.github.com/users/ivansky/orgs","repos_url":"https://api.github.com/users/ivansky/repos","events_url":"https://api.github.com/users/ivansky/events{/privacy}","received_events_url":"https://api.github.com/users/ivansky/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T08:32:30Z","updated_at":"2018-07-30T08:32:30Z","author_association":"CONTRIBUTOR","body":"Сравнение этих двух библиотек \r\nhttp://cssvars.atspace.cc/"}}
{"actor":{"display_login":"ivansky"}}