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

feat: Add ability to lookup icons by name or slug #3

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pdf
Copy link

@pdf pdf commented Oct 15, 2024

BREAKING CHANGE: The type of the IconsInfo slice changes to pointer
members, to avoid having to maintain multiple copies of the whole icon
library in memory for consumers, now that infos are used multiple times.

I split the commits with just the code changes in the first commit, and generated content in the second commit, hopefully makes review a little easier.

This would require a v2 release due to the breaking type change on the exported IconsInfo slice.

Fixes #2

@pdf pdf mentioned this pull request Oct 15, 2024
pdf added 2 commits October 16, 2024 01:21
BREAKING CHANGE: The type of the IconsInfo slice changes to pointer
members, to avoid having to maintain multiple copies of the whole icon
library in memory for consumers, now that infos are used multiple times.
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.

Icon lookup by name
1 participant