{"action":"created","issue":{"url":"https://api.github.com/repos/springernature/frontend-playbook/issues/251","repository_url":"https://api.github.com/repos/springernature/frontend-playbook","labels_url":"https://api.github.com/repos/springernature/frontend-playbook/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/springernature/frontend-playbook/issues/251/comments","events_url":"https://api.github.com/repos/springernature/frontend-playbook/issues/251/events","html_url":"https://github.com/springernature/frontend-playbook/issues/251","id":344354818,"node_id":"MDU6SXNzdWUzNDQzNTQ4MTg=","number":251,"title":"Mixins & Utility classes","user":{"login":"o-t-w","id":29547922,"node_id":"MDQ6VXNlcjI5NTQ3OTIy","avatar_url":"https://avatars3.githubusercontent.com/u/29547922?v=4","gravatar_id":"","url":"https://api.github.com/users/o-t-w","html_url":"https://github.com/o-t-w","followers_url":"https://api.github.com/users/o-t-w/followers","following_url":"https://api.github.com/users/o-t-w/following{/other_user}","gists_url":"https://api.github.com/users/o-t-w/gists{/gist_id}","starred_url":"https://api.github.com/users/o-t-w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o-t-w/subscriptions","organizations_url":"https://api.github.com/users/o-t-w/orgs","repos_url":"https://api.github.com/users/o-t-w/repos","events_url":"https://api.github.com/users/o-t-w/events{/privacy}","received_events_url":"https://api.github.com/users/o-t-w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-25T09:03:12Z","updated_at":"2018-07-25T09:54:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"https://github.com/springernature/frontend-playbook/blob/master/css/how-we-write-css.md#classes-vs-mixins\r\n\r\nI've always seen mixins and utility classes as _alternative_  approaches. \r\nSince autoprefixer made manually writing prefixes unnecessary I've largely avoided mixins altogether. \r\n\r\nAs per the playbook we will be defining mixins in a bunch of files in one directory and utility classes that use them in different files in a different directory. These mixins will set _one single CSS property_. This is pointless - it is more code and more fragmentation for no benefit. \r\n\r\nPeople will have different subjective opinions about Sass. Unless it is giving us a real benefit then we should not mandate that people use a gigantic megaton tangle of Sass everywhere unless there is a real benefit.\r\n"},"comment":{"url":"https://api.github.com/repos/springernature/frontend-playbook/issues/comments/407700426","html_url":"https://github.com/springernature/frontend-playbook/issues/251#issuecomment-407700426","issue_url":"https://api.github.com/repos/springernature/frontend-playbook/issues/251","id":407700426,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzcwMDQyNg==","user":{"login":"jpw","id":683955,"node_id":"MDQ6VXNlcjY4Mzk1NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/683955?v=4","gravatar_id":"","url":"https://api.github.com/users/jpw","html_url":"https://github.com/jpw","followers_url":"https://api.github.com/users/jpw/followers","following_url":"https://api.github.com/users/jpw/following{/other_user}","gists_url":"https://api.github.com/users/jpw/gists{/gist_id}","starred_url":"https://api.github.com/users/jpw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpw/subscriptions","organizations_url":"https://api.github.com/users/jpw/orgs","repos_url":"https://api.github.com/users/jpw/repos","events_url":"https://api.github.com/users/jpw/events{/privacy}","received_events_url":"https://api.github.com/users/jpw/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T09:54:14Z","updated_at":"2018-07-25T09:54:14Z","author_association":"CONTRIBUTOR","body":"Batphoning @davidpauljunior @alexkilgour @sonniesedge for their thoughts."}}
{"actor":{"display_login":"jpw"}}