feat(icon): add json_schema file icon#3380
Conversation
Able to display icon for any "*.schema.json" file. Add file icon for JSON schema validation files. Resolves: material-extensions#3312
PreviewThank you for creating a pull request. This preview shows you how your icon will look on the different themes: Check how your icon fits in a 16x16 grid with our Pixel Perfect Checker by following this link. You can find more information on how to contribute in the contribution guidelines. |
|
You are correct. But, earlier @rbalet suggested the following, which was created from the original However, it's your call which one to take. Please let us know. |
Reuse existing json icon for baseline, add checkmark to it. Fixes: material-extensions#3312
|
Have created new icon using existing |
|
@SayanShankhari Thanks, yeah that's a pitty. I recently investigated that a little bit. I came to the conclusion that I pretty much like how the JSON icon currently looks like. It fits nicely into these theme - but it doesn't fit the grid and it's not so easy to fix it 😬 For example ones lucas tried to make it more pixel perfect, but it actually doesn't look nice:
That's why we're currently still going with that existing JSON icon which doesn't follow the grid, but the JSON icon is used so frequently that it's important that it looks nice. It is an exception to be honest. If you want to elaborate on that problem a little bit and suggest some new JSON icon which follows the grid a little bit better and still looks nice, I would totally love that solution. Feel free to explore new options here :) Until then I'll merge this schema icon, it looks good so far, thanks for your efforts! |
Merge SuccessfulThanks for your contribution! 🎉 The changes will be part of the upcoming update on the Marketplace. |
|
@PKief I actually have a few experiments on the json icon, I also have one that is more similar to the current one just (a bit more but not completely) pixel perfect. But tbh, I didn't find it to be a huge improvement so I never sent a PR. They look quite similar
|
|
@lucas-labs I like you addition, would welcome a PR from your side to be honest :) |
|
Hi @lucas-labs thanks for sharing this. Would be nice to see the full SVG in a PR :) |




Description
Add file icon for JSON schema validation files.
Add entry in fileIcons.ts file.
Should be able to display icon for any "*.schema.json" file.
Resolves: #3312
Thanks @KTrain5169 for raising, thanks @rbalet for the ideas.
Contribution Guidelines