{"action":"opened","issue":{"url":"https://api.github.com/repos/filipelinhares/funkcss/issues/2","repository_url":"https://api.github.com/repos/filipelinhares/funkcss","labels_url":"https://api.github.com/repos/filipelinhares/funkcss/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/filipelinhares/funkcss/issues/2/comments","events_url":"https://api.github.com/repos/filipelinhares/funkcss/issues/2/events","html_url":"https://github.com/filipelinhares/funkcss/issues/2","id":163717493,"number":2,"title":"Class Naming - Specifying unity","user":{"login":"andrepinho","id":4283132,"avatar_url":"https://avatars.githubusercontent.com/u/4283132?v=3","gravatar_id":"","url":"https://api.github.com/users/andrepinho","html_url":"https://github.com/andrepinho","followers_url":"https://api.github.com/users/andrepinho/followers","following_url":"https://api.github.com/users/andrepinho/following{/other_user}","gists_url":"https://api.github.com/users/andrepinho/gists{/gist_id}","starred_url":"https://api.github.com/users/andrepinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrepinho/subscriptions","organizations_url":"https://api.github.com/users/andrepinho/orgs","repos_url":"https://api.github.com/users/andrepinho/repos","events_url":"https://api.github.com/users/andrepinho/events{/privacy}","received_events_url":"https://api.github.com/users/andrepinho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-04T17:32:22Z","updated_at":"2016-07-04T17:32:22Z","closed_at":null,"body":"The current class naming doesn't have any indication on what css unity is being used.\r\n​\r\nFor example, spacing and sizes helpers:\r\n​\r\n```css\r\n.mT-100 /* 100 is to pixel */\r\n.w-100 /* 100 is to percentage */\r\n```\r\n​\r\nKnowing css has quite a few units:\r\n- `%`\r\n- `rem`\r\n- `em`\r\n- `px`\r\n- `vh`\r\n- `vw`\r\n​\r\n\r\nIsn't it a good idea to specify what unit is being used in that class?\r\n​\r\nHere are a example of what I'm talking about:\r\n```css\r\n.w-100p {\r\n   width: 100%;\r\n}\r\n​\r\n.fz-1r {\r\n   font-size: 1rem;\r\n}\r\n```\r\n​\r\nHere's a table which I think could be a good reference for a naming rule:\r\n​\r\n| Unity          | Class indication |  Example |\r\n|----------------|------------------|----------|\r\n| px             | default (none)   | .pT-20   |\r\n| rem            | r                | .fz-2r   |\r\n| em             | e                | .fz-1e   |\r\n| % (percentage) | p                | .w-100p  |\r\n\r\n**Any suggestion or comments, please reply this issue.**\r\nThanks!"}}
{"actor":{"display_login":"andrepinho"}}