{"_id":"@affectionatedoor/work-sans-subsets","_rev":"2-fcb7527e7567e9c94eec513bba1eab4b","name":"@affectionatedoor/work-sans-subsets","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@affectionatedoor/work-sans-subsets","version":"1.0.0","description":"Unicode subsets for the Work Sans typeface","main":"index.css","repository":{"type":"git","url":"git://github.com/MarkosKon/theme-playground.git","directory":"packages/unicode-subsets/work-sans-subsets"},"bugs":{"url":"https://github.com/MarkosKon/theme-playground/issues"},"homepage":"https://github.com/MarkosKon/theme-playground#readme","_id":"@affectionatedoor/work-sans-subsets@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"affectionatedoor","email":"rtctt4aou@gmail.com"},"dist":{"integrity":"sha512-xlG9QnpDfwN/DnAcz0+Gdelgzo5n4vY5qvyqeuAR5przfoxUg8wAU/bsLcCx6/jCk5fDugzMhKlX7ma98Rp+2Q==","shasum":"e424bab7b7162c0150b2c4c13549da7062480d73","tarball":"https://registry.npmjs.org/@affectionatedoor/work-sans-subsets/-/work-sans-subsets-1.0.0.tgz","fileCount":76,"unpackedSize":3845049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKuc/CRA9TVsSAnZWagAAVk8P/j/j9N13+S2Bx0187J6h\nJMjj0Hq7cKxTAaGBVCnB2odotd5Yrad1trdp7CM5RLweu9gSs7pVZq4brBg1\nhsu4dInbl03KUqK4DOTz8Zilmm/WJfyPhXfs4PPoaSKT+3Zsefh3zSAG17+9\ndyGEJ5D+a3sn/qODcYXDiy4gydGo2E6ZwiasQLBpm4k9Bq/sv0jc1Q1Xs2iI\nrgeE3LcOjCdKKHAPh8k3pPc2+n7rQzaBcwF8eiY9yGqUI6Z+Fd7JsLUdMwLT\nVjPnjTCjpwkycwytxwewHiadFdCJTBE6FFPyZ/ZwKBOiyShUx1dnIz21p0Bh\nqsZPTH58jkESC9xpFslx5gNgEq0IzIfyoAnJqAn0eM19mezWWqJc3Ttm0hbq\nVKmr0HbPBV27SYn+2HZdnQLbJS3jGqvyk4SzPPyuSFuZ9XlAK6QH3Tcv7yRB\nMXEAggfLJKOve5XNbHkPpImkQ0BzuTOKn7e5q+mH/HkHVqsK9TIwvlOrRRqe\nsFS4w0w1Zz3ZrDeexM+Z8IxDHKuIkC294tHpRfPQtpWcjTRNtmoKlcPQtU0F\nXcqy1xsxzgzwFnAYlzE47vlmpX5DPvSAvB0v/Q5T+agg130E4u3J/65qZuT7\niWF4bUSYeY17MQtMov0SFCzwKazyQD3a/0gzvIiUsT/HZxJ+mnOYDir5XYqD\nSKoZ\r\n=N33O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsBXT+JDuUgRqlmpt6mfsziWci1MNYYQ7HXhmEQdjSHwIhAMPxsMRxBsMQ3srbJwcUUUbKPmH9EaoiZ+11Z5l255Gc"}]},"maintainers":[{"name":"affectionatedoor","email":"rtctt4aou@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/work-sans-subsets_1.0.0_1579870015405_0.4101551961635481"},"_hasShrinkwrap":false},"1.1.0":{"name":"@affectionatedoor/work-sans-subsets","version":"1.1.0","description":"Unicode subsets for the Work Sans typeface","main":"index.css","repository":{"type":"git","url":"git://github.com/MarkosKon/theme-playground.git","directory":"packages/unicode-subsets/work-sans-subsets"},"bugs":{"url":"https://github.com/MarkosKon/theme-playground/issues"},"homepage":"https://github.com/MarkosKon/theme-playground#readme","_id":"@affectionatedoor/work-sans-subsets@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"affectionatedoor","email":"rtctt4aou@gmail.com"},"dist":{"integrity":"sha512-Dcoz9DEfXTtRtJJm5duVEwKBlLVkAD/8KwqPljIfiwOsHSCinR2WbZr+/2eZsU4A/8+QrcSnq9GON4bVRb09fA==","shasum":"90430071cfe57980a59bac8af04a1e0f13e3b3c8","tarball":"https://registry.npmjs.org/@affectionatedoor/work-sans-subsets/-/work-sans-subsets-1.1.0.tgz","fileCount":138,"unpackedSize":5544546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKzLhCRA9TVsSAnZWagAADlEP/1oTMt6GnX8o6U6+jq6u\nvKfhXqj2tE42w1zSErUNlagguMcGiMJe12rTXoR3zB1DSfuWd8cw8V3fHbOv\nGZM8uzI9+Sk3qVw3fT0Sp5gmqkbiFyMprVVk8ylTMRg6bw1FZfz7cfLluKxy\nN3kqeOCs4ar051ync2g3CCrraS8Gr1IMVswU9YBpoJPvlY/2SHQct4knTtO/\nWdJ1zJFjqjEqqlZij5BLcLc8X6JiUofJJcE0agQmmtTFSgaKxk0jjDeXE83a\nvjmQOaFkoieyQN0I0dyOwmGlOrCQPVW9GLlZZcZDDNDUO92Vri/99FUfTcAN\nvyb0TL1p7l3lUmfu2/5TLIs6nZKZiX+cG70w5XN9wieTEorsqfVivb8PbXPp\nq0Pgrlw74yH+gjbU1FAFJ0aSWvRJs0a30vBc/H9C1gqajtsztm7OUNcE6BS9\nkVifw8sErdMnmX7Fu+C4qNsuExr7mcKmRCmPTGur5SFYwxiOuWKEuaBSenrc\n3T1cUJbyIPr3Nk3M9fQF949aio9XgwqYLqDNsaHd9nPWFXREfmpwaKUB2Odb\nmytJJ9wI/NPHMGlWCOIliYoSuvo6I1ZzmtMBT3pIq/6ry4R+H3SbVA87JcDP\n8DjYzxSW3QvQuGAuUuAG3UBVDmKkGfW4nWD5EHODSYps3icLaHa6ch8LBwAI\nBD3p\r\n=0J+I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNjsJG5zWSRBcPUO1ev2+/B8+KDnlYRidXk4fX90W2TAIhAPtCWfyuXVcc2GMjh/Rx6NV2F6G02LI9or1I+sitGzDb"}]},"maintainers":[{"name":"affectionatedoor","email":"rtctt4aou@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/work-sans-subsets_1.1.0_1579889376520_0.24050664986938664"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-24T12:46:55.365Z","1.0.0":"2020-01-24T12:46:55.698Z","modified":"2022-04-04T11:50:28.400Z","1.1.0":"2020-01-24T18:09:37.306Z"},"maintainers":[{"name":"affectionatedoor","email":"rtctt4aou@gmail.com"}],"description":"Unicode subsets for the Work Sans typeface","homepage":"https://github.com/MarkosKon/theme-playground#readme","repository":{"type":"git","url":"git://github.com/MarkosKon/theme-playground.git","directory":"packages/unicode-subsets/work-sans-subsets"},"bugs":{"url":"https://github.com/MarkosKon/theme-playground/issues"},"readme":"# Work Sans subsets\n\nUnicode subsets for the Work Sans typeface. Includes italic files that are not available in Google Fonts at the moment. [Source code.](https://github.com/MarkosKon/theme-playground/tree/master/packages/unicode-subsets/work-sans-subsets)\n\n## Install\n\n```bash\nyarn add @affectionatedoor/work-sans-subsets\n```\n\nImport the CSS file (you need loaders for the CSS and font files):\n\n```js\nimport \"@affectionatedoor/work-sans-subsets\";\n// or if you want to use the variable fonts:\nimport \"@affectionatedoor/work-sans-subsets/variable.css\";\n```\n\nUse the font files in CSS:\n\n```css\nhtml {\n  font-family: \"Work Sans\", sans-serif;\n}\n/* or if you want to use the variable fonts:  */\nhtml {\n  font-family: \"Work Sans Variable\", sans-serif;\n}\n```\n\n### No hinting\n\nIf hinting is not important to you, or you want smaller files, you can instead use the CSS that points to the files without hinting:\n\n```js\nimport \"@affectionatedoor/work-sans-subsets/no-hint.css\";\n// or\nimport \"@affectionatedoor/work-sans-subsets/no-hint-variable.css\";\n```\n\n## Subsets\n\n- Latin: U+0000-00FF.\n- Latin Extended-A: U+0100-017F.\n- Latin Extended Additional: U+1E00-1EFF.\n- Rest: U+2000-FB02.\n\n## Not included\n\nI didn't include the following sets because they didn't have enough glyphs (version 2.007).\n\n- Latin Extended-B: U+0180-024F.\n- Phonetic alphabet: U+0250-02FF.\n- Combining diacritical marks: U+0300-036F.\n- Greek: U+0370-03FF.\n\n**Note:** In IE9-11, `unicode-range` subsets don't work as expected; the browser [downloads all the available font files](https://caniuse.com/#feat=font-unicode-range).\n\n## Weights\n\nSubsets are available for Regular, Italic, Bold, and BoldItalic. I may add more in the future. The variable font files have all the weights.\n\n## Usage with Gatsby\n\n```bash\n// gatsby-browser.js\nimport @affectionatedoor/work-sans-subsets\n```\n\n**Important:** Many of the subset files are small, and, as a result, Gatsby will try to inline them as base64 strings in the CSS. This will result into a _huge CSS file_. To go around that, you'll have to [change the inline limit](https://github.com/KyleAMathews/typefaces/issues/104) for Webpack:\n\n```js\n// gatsby-node.js\nexports.onCreateWebpackConfig = ({ actions, getConfig }) => {\n  const config = getConfig();\n  const fontRule = config.module.rules.find(rule =>\n    String(rule.test).includes(\"woff\")\n  );\n  // Set a very small limit of 3KB.\n  fontRule.use[0].options.limit = 3000;\n  actions.replaceWebpackConfig(config);\n};\n```\n\nSee the link for more details.\n","readmeFilename":"README.md"}