{"action":"created","issue":{"url":"https://api.github.com/repos/commercetools/ui-kit/issues/382","repository_url":"https://api.github.com/repos/commercetools/ui-kit","labels_url":"https://api.github.com/repos/commercetools/ui-kit/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/commercetools/ui-kit/issues/382/comments","events_url":"https://api.github.com/repos/commercetools/ui-kit/issues/382/events","html_url":"https://github.com/commercetools/ui-kit/issues/382","id":395505127,"node_id":"MDU6SXNzdWUzOTU1MDUxMjc=","number":382,"title":"Q: typography styles","user":{"login":"emmenko","id":1110551,"node_id":"MDQ6VXNlcjExMTA1NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1110551?v=4","gravatar_id":"","url":"https://api.github.com/users/emmenko","html_url":"https://github.com/emmenko","followers_url":"https://api.github.com/users/emmenko/followers","following_url":"https://api.github.com/users/emmenko/following{/other_user}","gists_url":"https://api.github.com/users/emmenko/gists{/gist_id}","starred_url":"https://api.github.com/users/emmenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmenko/subscriptions","organizations_url":"https://api.github.com/users/emmenko/orgs","repos_url":"https://api.github.com/users/emmenko/repos","events_url":"https://api.github.com/users/emmenko/events{/privacy}","received_events_url":"https://api.github.com/users/emmenko/received_events","type":"User","site_admin":false},"labels":[{"id":1041737240,"node_id":"MDU6TGFiZWwxMDQxNzM3MjQw","url":"https://api.github.com/repos/commercetools/ui-kit/labels/:question:%20Type:%20Question","name":":question: Type: Question","color":"d876e3","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-01-03T09:29:29Z","updated_at":"2019-01-03T10:33:20Z","closed_at":null,"author_association":"MEMBER","body":"As I was [playing around with ui-kit being used with e.g. Gatsby/Next.js](https://github.com/commercetools/ui-kit/issues/353#issuecomment-449629247), I noticed that the `Text` components use kind of \"global styles\", even though the styles are defined in the css file.\r\n\r\nhttps://github.com/commercetools/ui-kit/blob/d1acba93d97419f8a85db51471edf602087515fa/src/components/typography/text/text.mod.css#L15-L70\r\n\r\nI'm wondering about a couple of things:\r\n- should we really target html tags instead of using specific classes?\r\n- if we do want to have it like this, we should maybe move those selectors to our e.g. `reset.mod.css`\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/commercetools/ui-kit/issues/comments/451106553","html_url":"https://github.com/commercetools/ui-kit/issues/382#issuecomment-451106553","issue_url":"https://api.github.com/repos/commercetools/ui-kit/issues/382","id":451106553,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTEwNjU1Mw==","user":{"login":"tdeekens","id":1877073,"node_id":"MDQ6VXNlcjE4NzcwNzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1877073?v=4","gravatar_id":"","url":"https://api.github.com/users/tdeekens","html_url":"https://github.com/tdeekens","followers_url":"https://api.github.com/users/tdeekens/followers","following_url":"https://api.github.com/users/tdeekens/following{/other_user}","gists_url":"https://api.github.com/users/tdeekens/gists{/gist_id}","starred_url":"https://api.github.com/users/tdeekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdeekens/subscriptions","organizations_url":"https://api.github.com/users/tdeekens/orgs","repos_url":"https://api.github.com/users/tdeekens/repos","events_url":"https://api.github.com/users/tdeekens/events{/privacy}","received_events_url":"https://api.github.com/users/tdeekens/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T10:33:20Z","updated_at":"2019-01-03T10:33:20Z","author_association":"CONTRIBUTOR","body":"I think it should be a local and not global. Why did we make them global back then? I assume it's also non breaking as it's just encapsulated to the component."}}
{"actor":{"display_login":"tdeekens"}}