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

Publish JSON list of all icons #140

Open
zadam opened this issue Feb 14, 2021 · 1 comment
Open

Publish JSON list of all icons #140

zadam opened this issue Feb 14, 2021 · 1 comment

Comments

@zadam
Copy link

zadam commented Feb 14, 2021

Hi, I'd like to give my users the ability to choose the icon with an icon picker similar to what exists on boxicons.com.

For that I need a list of all icons with their names - I see that it exists internally as part of the website (see example below), would it be possible to export this JSON as normal file which is easier to consume?

        {
            "name": "cookie",
            "slug": "cookie-regular",
            "category_id": 108,
            "type_of_icon": "REGULAR"
          },
          {
            "name": "comment-detail",
            "slug": "comment-detail-regular",
            "category_id": 101,
            "type_of_icon": "REGULAR"
          }
@janKollars
Copy link

An eleventy plugin which I created would also benefit from the data file. So, I implemented this feature and created the MR #208.

The generated json file looks like this:

{
  "github": {
    "types": ["logos"]
  },
  "alarm-snooze": {
    "types": ["regular", "solid"]
  }
}

@zadam and @atisawd : Please let me know what you think about the stored data and its format.

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

No branches or pull requests

2 participants