Allow customization of icons
See original GitHub issueCurrently, the iconset is tied to Font Awesome. Ideally, we would also allow the customization of these icons. Could possibly set this as a property to the tree itself or allow the specification via :before
CSS property.
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to Change and Customize App Icons on Android
The easiest way to change your app icons is by installing and using a new launcher that allows this. That's the method we'll...
Read more >How to customize your iPhone's app icons - The Verge
Okay, let's begin. Find and tap on the Shortcuts app. It's pre-installed; if you can't see it immediately on your homescreen, swipe left...
Read more >How to Set Custom Icons for Your Android Apps
Method 1: Use an Image · First, you'll need to remove the image's background. On your phone or PC, open a browser and...
Read more >The ultimate guide on how to customize your iPhone running ...
Tap on the icon next to the text to select a custom image from Photos or Files. Tap "add" to finish customizing the...
Read more >Why You Should Customize the Apps and Widgets on Your ...
It's fairly simple to change the appearance of your iPhone app icons. ... your home screen, allowing you to create your own unique...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah mate, that’s exactly what I was thinking. I’ve got a modified version of react-checkbox-tree that has both node-level defined icons and pessimistic/optimistic toggling. It’s provided incredible flexibility. Fantastic work on this library, BTW. Best React checkbox library available.
@Gillingham A primary reason things were shifted to CSS was to decouple the dependency on Font Awesome from the markup, and to not require that user add boilerplate properties to the component itself when it could be achieved in achieved in CSS. If you have existing classes, you can always use the
@extends
syntax or equivalent in your CSS preprocessor and override the library’s classes.Markup-level specification can be added to this component, but I am curious as to which icons you would find useful to alter. I can add support for all icons similar to my earlier comment, but I do not know if anyone finds value in changing ALL of them.
If we add support for the above, the CSS option would still exist as the preferred alternative, so we would have full backward compatibility. The newer specification would potentially more exotic icon configuration, but the developer would have to be aware that significant deviations might make the icons mis-align.