https://github.com/acryps/glyph
https://github.com/acryps/glyph
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/acryps/glyph
- Owner: acryps
- Created: 2024-08-05T15:00:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T08:34:46.000Z (almost 2 years ago)
- Last Synced: 2025-02-25T21:32:44.087Z (over 1 year ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# @acryps/glyph
Convert your icons into a glyph font while building.
Run this in your build:
```
npx glyph
```
Make sure that the icons are named lowercase, using letters, numbers and dashes (`-`).
The optional base path is used as a prefix for the location of the font files
Will generate
- Glyph Fonts in WOFF, WOFF2, TTF, SVG and EOT
- @acryps/style mapping and font declaration (include in your root stylesheet using `icons()`)
- Direct insert functions to generate DOM elements (just use `Icon()` in your JSX)