Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions fonts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The `vanilla` icon font is generated via [IcoMoon](https://icomoon.io). It is re

| File | Purpose |
|------|---------|
| `vanilla.woff` / `vanilla.woff2` | Compiled font files used at runtime |
| `vanilla.woff` | Compiled font file used at runtime |
| `Vanilla icons.json` | IcoMoon app project state - import this to resume editing in the app |
| `vanilla-icons.icomoon.json` | IcoMoon font definition (new app format) - use this to regenerate the font |
| `selection.json` | Legacy IcoMoon backup (old app format) - kept for backwards compatibility |
Expand All @@ -19,7 +19,8 @@ Use this when adding, removing, or modifying icons in the shared `vanilla` font
2. Import `Vanilla icons.json` from the project selection screen.
3. Add, remove, or modify icons as needed.
4. Export the font package (the zip download).
5. Replace `vanilla.woff` and `vanilla.woff2` with the new files from the `fonts/` folder in the zip.
5. Replace `vanilla.woff` with the new file from the `fonts/` folder in the zip.
- WOFF2 generation requires a paid IcoMoon plan, so only WOFF is used. Do not add a `vanilla.woff2`.
6. Replace `vanilla-icons.icomoon.json` with the version from the zip root.
7. Update `icons.less` if any icon class names or unicode values have changed.

Expand Down
Binary file removed fonts/vanilla.woff2
Binary file not shown.
3 changes: 1 addition & 2 deletions less/_defaults/icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// --------------------------------------------------
@font-face {
font-family: "vanilla";
src: url("fonts/vanilla.woff2") format("woff2"),
url("fonts/vanilla.woff") format("woff");
src: url("fonts/vanilla.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: block;
Expand Down
Loading