Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icons metadata files #2114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add icons metadata files #2114

wants to merge 1 commit into from

Conversation

blakegearin
Copy link

@blakegearin blakegearin commented Mar 2, 2025

Summary

  • Added build script for generating a metadata directory with JSON files for icons and categories

Notes

  • This treats the docs/content/icons/*.md files as the source of truth

  • Pulling in js-yaml seemed to be the best way to convert Frontmatter to JSON; there are other similar packages but they're significantly less popular and battle-tested

  • If YML is preferred over JSON, please let me know and I can adapt the script

  • This is common to provide among icon libraries since it enables search (Font Awesome, Ionicons, Lucide, Tabler)

  • The primary concern this is trying to address is that tags & categories are not available in bulk like icons are with the sprite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant