josdejong / josdejong/jsoneditor

Icons feature request

Open
#1,551 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Hi.

Plugin uses old image sprite technique that has lots of flexibility blockers. For example, if you want to change colors for icons you need to change SVG sprite. Also, issues because of sprite URL https://github.com/josdejong/jsoneditor/issues/675

![image](https://github.com/josdejong/jsoneditor/assets/25930200/74bfa80d-1345-445c-a923-13ee2c0b858f)

I think icons could be develop using inline SVG icons approach https://css-tricks.com/cascading-svg-fill-color/

It would be more flexible, accessible and you will remove link to sprint from CSS that is point on lots issues

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.