{"_id":"@aleph-alpha/config-fonts","_rev":"4-cff5d3ef6f1c972503cebb5fe2ce2a3d","name":"@aleph-alpha/config-fonts","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.0":{"name":"@aleph-alpha/config-fonts","version":"0.2.0","author":{"name":"Aleph Alpha GmbH"},"license":"Apache-2.0","_id":"@aleph-alpha/config-fonts@0.2.0","maintainers":[{"name":"uyiaa","email":"uyiosa.enabulele@aleph-alpha.com"}],"homepage":"https://docs.aleph-alpha.com","dist":{"shasum":"e85d190d4225349f1a98d3ef681e64e76adcc707","tarball":"https://registry.npmjs.org/@aleph-alpha/config-fonts/-/config-fonts-0.2.0.tgz","fileCount":25,"integrity":"sha512-p8p8Zj4s4jhAWotZtJnMjSX8nraRFvGxVaZWMuTalDm4m7IBJ8OwSwYhLc2Nez4ChiD3C02LFaV8aOKNwiAIQg==","signatures":[{"sig":"MEYCIQD8fli9J/3oQt10vc1JmUbE+IxTZxwQwnQUFZeJamJxbgIhAJIwcHgm4t0xSOV9wY5eHNExBkHn7+GgW4NHKyHl6kor","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1010623},"main":"dist/index.js","type":"module","_from":"file:aleph-alpha-config-fonts-0.2.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"vite build"},"typings":"dist/index.d.ts","_npmUser":{"name":"uyiaa","email":"uyiosa.enabulele@aleph-alpha.com"},"prettier":"@aleph-alpha/prettier-config-frontend","_resolved":"/tmp/932d151313e847eea61b3b33bf09daa7/aleph-alpha-config-fonts-0.2.0.tgz","_integrity":"sha512-p8p8Zj4s4jhAWotZtJnMjSX8nraRFvGxVaZWMuTalDm4m7IBJ8OwSwYhLc2Nez4ChiD3C02LFaV8aOKNwiAIQg==","_npmVersion":"10.8.2","description":"Embedded WOFF2 web fonts (Raleway, Roboto, Montserrat, Inter) as base64 data URIs. Framework-agnostic — used by @aleph-alpha/config-unocss's webfonts preset but reusable from any framework.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"typedocOptions":{"entryPoints":["./src/index.ts"]},"devDependencies":{"vite-plugin-dts":"^4.0.0","@aleph-alpha/tsconfig-frontend":"0.7.0","@aleph-alpha/eslint-config-frontend":"0.7.0","@aleph-alpha/prettier-config-frontend":"2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/config-fonts_0.2.0_1781792419999_0.7013996839786278","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aleph-alpha/config-fonts","version":"0.2.1","author":{"name":"Aleph Alpha GmbH"},"license":"Apache-2.0","_id":"@aleph-alpha/config-fonts@0.2.1","maintainers":[{"name":"uyiaa","email":"uyiosa.enabulele@aleph-alpha.com"}],"homepage":"https://docs.aleph-alpha.com","dist":{"shasum":"a4f3c31f9fd39e231cbda420cafad5a886bc8eff","tarball":"https://registry.npmjs.org/@aleph-alpha/config-fonts/-/config-fonts-0.2.1.tgz","fileCount":25,"integrity":"sha512-39/dwHCfUs3WaCBZ+FKEslJSRJEWt2+o8HZcXHEFWh3M1tlF91mI6wRnNwo2VXrD7t9hmv+Hab1Dbpy2525uCQ==","signatures":[{"sig":"MEQCIFzjO3wbebcLrc+DOPBElOmIlfAjPxSjARjS5VYJ7mXfAiAPShOmNFadpSQ9j39YSL1LaWvrJeYYcuNQJ2Fh6/C5LA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1010962},"main":"dist/index.js","type":"module","_from":"file:aleph-alpha-config-fonts-0.2.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"vite build","typecheck":"tsc --noEmit"},"typings":"dist/index.d.ts","_npmUser":{"name":"uyiaa","email":"uyiosa.enabulele@aleph-alpha.com"},"prettier":"@aleph-alpha/prettier-config-frontend","_resolved":"/tmp/6d027b07d5668a803866cfc8ff1075d5/aleph-alpha-config-fonts-0.2.1.tgz","_integrity":"sha512-39/dwHCfUs3WaCBZ+FKEslJSRJEWt2+o8HZcXHEFWh3M1tlF91mI6wRnNwo2VXrD7t9hmv+Hab1Dbpy2525uCQ==","_npmVersion":"10.8.2","description":"Embedded WOFF2 web fonts (Raleway, Roboto, Montserrat, Inter) as base64 data URIs. Framework-agnostic — used by @aleph-alpha/config-unocss's webfonts preset but reusable from any framework.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"typedocOptions":{"entryPoints":["./src/index.ts"]},"devDependencies":{"vite-plugin-dts":"^4.0.0","@aleph-alpha/tsconfig-frontend":"0.7.2","@aleph-alpha/eslint-config-frontend":"0.7.1","@aleph-alpha/prettier-config-frontend":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/config-fonts_0.2.1_1786371345356_0.828526431150256","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-06-18T14:20:19.866Z","modified":"2026-08-31T13:44:09.119Z","0.2.0":"2026-06-18T14:20:20.241Z","0.2.1":"2026-08-10T14:15:45.569Z"},"author":{"name":"Aleph Alpha GmbH"},"license":"Apache-2.0","homepage":"https://docs.aleph-alpha.com","description":"Embedded WOFF2 web fonts (Raleway, Roboto, Montserrat, Inter) as base64 data URIs. Framework-agnostic — used by @aleph-alpha/config-unocss's webfonts preset but reusable from any framework.","maintainers":[{"email":"oleksandr.honskyi@aleph-alpha.com","name":"oleksandr.honskyi"},{"email":"marco.lauinger@aleph-alpha.com","name":"mlauinger-aa"},{"email":"uyiosa.enabulele@aleph-alpha.com","name":"uyiaa"}],"readme":"## Config Fonts\n\n_@aleph-alpha/config-fonts_\n\nEmbedded WOFF2 web fonts as base64 data URIs. Framework-agnostic — primary consumer is `@aleph-alpha/config-unocss`'s webfonts preset, but the binaries are usable from any framework (MUI, plain CSS, Tailwind, …).\n\n### Installation\n\n```bash\npnpm add @aleph-alpha/config-fonts\n```\n\n### Usage\n\n```ts\nimport { raleway500, roboto500, montserrat600, inter400 } from '@aleph-alpha/config-fonts';\n\n// Each export is a base64-encoded WOFF2 data URI (`data:…;base64,…`) you can drop into a @font-face src.\nconst css = `@font-face { font-family: 'Raleway'; src: url(${raleway500}) format('woff2'); font-weight: 500; }`;\n```\n\n### Available fonts\n\n| Family | Weights |\n|---|---|\n| Inter | 400, 500, 600, 700 |\n| Montserrat | 500, 600, 700 |\n| Raleway | 500, 600, 700 |\n| Roboto | 500, 600, 700 |\n\n### Adding a font\n\nUse the included converter to turn a `.woff2` binary into a base64-encoded TS module:\n\n```bash\nnode src/utils/convert-fonts.js path/to/myfont.woff2 src/fonts/myfont.woff2.ts\n```\n\nThen re-export it from `src/index.ts`.\n","readmeFilename":"README.md"}