{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/slate/issues/818","repository_url":"https://api.github.com/repos/Shopify/slate","labels_url":"https://api.github.com/repos/Shopify/slate/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/slate/issues/818/comments","events_url":"https://api.github.com/repos/Shopify/slate/issues/818/events","html_url":"https://github.com/Shopify/slate/issues/818","id":369478754,"node_id":"MDU6SXNzdWUzNjk0Nzg3NTQ=","number":818,"title":"Help adding custom fonts","user":{"login":"donatasp94","id":22035603,"node_id":"MDQ6VXNlcjIyMDM1NjAz","avatar_url":"https://avatars1.githubusercontent.com/u/22035603?v=4","gravatar_id":"","url":"https://api.github.com/users/donatasp94","html_url":"https://github.com/donatasp94","followers_url":"https://api.github.com/users/donatasp94/followers","following_url":"https://api.github.com/users/donatasp94/following{/other_user}","gists_url":"https://api.github.com/users/donatasp94/gists{/gist_id}","starred_url":"https://api.github.com/users/donatasp94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donatasp94/subscriptions","organizations_url":"https://api.github.com/users/donatasp94/orgs","repos_url":"https://api.github.com/users/donatasp94/repos","events_url":"https://api.github.com/users/donatasp94/events{/privacy}","received_events_url":"https://api.github.com/users/donatasp94/received_events","type":"User","site_admin":false},"labels":[{"id":473034764,"node_id":"MDU6TGFiZWw0NzMwMzQ3NjQ=","url":"https://api.github.com/repos/Shopify/slate/labels/documentation","name":"documentation","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-12T09:48:30Z","updated_at":"2018-10-13T17:12:58Z","closed_at":null,"author_association":"NONE","body":"### Problem\r\n\r\nI'm quite new to Slate and can't seem to be able to figure out how to add custom fonts. I tried solutions from here - [Add custom fonts to slate 1.x](https://github.com/Shopify/slate/issues/418), but none of them work, I just get `Module parse failed: Unexpected character ' ' (1:4)\r\nYou may need an appropriate loader to handle this file type.` errors.\r\n\r\nAny help would be much appreciated\r\n"},"comment":{"url":"https://api.github.com/repos/Shopify/slate/issues/comments/429558868","html_url":"https://github.com/Shopify/slate/issues/818#issuecomment-429558868","issue_url":"https://api.github.com/repos/Shopify/slate/issues/818","id":429558868,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTU1ODg2OA==","user":{"login":"donatasp94","id":22035603,"node_id":"MDQ6VXNlcjIyMDM1NjAz","avatar_url":"https://avatars1.githubusercontent.com/u/22035603?v=4","gravatar_id":"","url":"https://api.github.com/users/donatasp94","html_url":"https://github.com/donatasp94","followers_url":"https://api.github.com/users/donatasp94/followers","following_url":"https://api.github.com/users/donatasp94/following{/other_user}","gists_url":"https://api.github.com/users/donatasp94/gists{/gist_id}","starred_url":"https://api.github.com/users/donatasp94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donatasp94/subscriptions","organizations_url":"https://api.github.com/users/donatasp94/orgs","repos_url":"https://api.github.com/users/donatasp94/repos","events_url":"https://api.github.com/users/donatasp94/events{/privacy}","received_events_url":"https://api.github.com/users/donatasp94/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T17:12:58Z","updated_at":"2018-10-13T17:12:58Z","author_association":"NONE","body":"I get errors for all of the files (eot, ttf, woff, woff2).\r\n\r\nI tested the fonts that I need (Corbel from Myfonts), then different fonts from Google Fonts and Fontsquirrel. I get errors for all of them.\r\n\r\nCould someone try downloading the woff+ttf Webfont kit with the default subset from here - https://www.fontsquirrel.com/fonts/open-sans\r\n\r\nAnd use the following CSS in `theme.scss` to eliminate the possibility of a font issue?\r\n```\r\n@font-face {\r\n    font-family: 'open_sansregular';\r\n    src: url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),\r\n         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype');\r\n    font-weight: normal;\r\n    font-style: normal;\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"donatasp94"}}