test icon drop in and load #27
Mariusthvdb
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
experimental custom component is working, copied form Fontawesome, and carefully edited the brand out of it, as I only want a way to drop icons and be able to. use them in HA. |
Beta Was this translation helpful? Give feedback.
0 replies
-
When I had failures trying to load the icons via JS in the frontend, I created a custom integration version that loads hass-hue-icons from disk. Might be a useful reference? https://github.com/arallsopp/hass-hue-icons-integration |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
since currently we need to write the path of each icon into the js resource and update all references to those is a bit of a hassle, I hope we can do as other integrations do. Simply have a map with the actual icons, and load those icons. A bit like Fontawesome does, or its clone simple-icons.
Ive tried to create an initial js resource, and it loads, but I see a 'forbidden' in inspector...
would you know if this could be feasible?
icon_picker.js.zip
Beta Was this translation helpful? Give feedback.
All reactions