{"action":"opened","issue":{"url":"https://api.github.com/repos/twbs/bootstrap/issues/21409","repository_url":"https://api.github.com/repos/twbs/bootstrap","labels_url":"https://api.github.com/repos/twbs/bootstrap/issues/21409/labels{/name}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/21409/comments","events_url":"https://api.github.com/repos/twbs/bootstrap/issues/21409/events","html_url":"https://github.com/twbs/bootstrap/issues/21409","id":197329690,"number":21409,"title":"Correct import order of _custom.scss and _variables.scss?","user":{"login":"constructit","id":6616690,"avatar_url":"https://avatars.githubusercontent.com/u/6616690?v=3","gravatar_id":"","url":"https://api.github.com/users/constructit","html_url":"https://github.com/constructit","followers_url":"https://api.github.com/users/constructit/followers","following_url":"https://api.github.com/users/constructit/following{/other_user}","gists_url":"https://api.github.com/users/constructit/gists{/gist_id}","starred_url":"https://api.github.com/users/constructit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constructit/subscriptions","organizations_url":"https://api.github.com/users/constructit/orgs","repos_url":"https://api.github.com/users/constructit/repos","events_url":"https://api.github.com/users/constructit/events{/privacy}","received_events_url":"https://api.github.com/users/constructit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-23T08:23:15Z","updated_at":"2016-12-23T08:23:15Z","closed_at":null,"body":"[Docs explain:](https://v4-alpha.getbootstrap.com/getting-started/options/#customizing-variables) \r\n\r\n> Copy and paste relevant lines from `_variables.scss` into the custom file\r\n\r\nCurrently `bootstrap.scss` imports `_custom.scss` **before** `_variables.scss` which seems to make any variable declaration within `_variables.scss` unavailable for use within `_custom.scss`.\r\n\r\n    @import \"custom\"; // (contains customization for: $lead-font-size)\r\n    @import \"variables\";\r\n\r\n    Error: Undefined variable: \"$lead-font-size\".\r\n\r\nWhereas when I swap the order of these two files it compiles without errors.\r\n\r\n    @import \"variables\";\r\n    @import \"custom\"; // (contains customization for: $lead-font-size)"}}
{"actor":{"display_login":"constructit"}}