For the Nectar skin some of the newer phosphoricons don't work when adding them. Is there a way to add them to the skin so that they will? :)
for total transparency, this is happening with both of my two most recent skins because phosphor updated to 2.0 in march, and made some pretty significant + breaking changes 🥹
if you're trying to use a very new icon (i.e. it's literally tagged as "new" on the phosphor site) then it won't be possible to use it with nectar (or pretty places) without upgrading to 2.0.
if the icon isn't necessarily that new, it might be available without upgrading. you won't be able to copy and paste it directly from the phosphor site, though. instead, i would recommend manually changing the icon's name (e.g. just switching the word "lightning" to something else, rather than swapping out the entire <i> tag).
if you would like to upgrade to 2.0, i think there are two options:
you can try to support both 1.0 and 2.0 at the same time. you can do this by adding the script from the "vanilla web" section of the documentation to your board wrappers. this way, most of the existing icons on the skin won't need to be touched at all, but you can use new icons and copy icons directly from phosphor. the caveat with this approach is that a select few icons may show up as a different icon. unfortunately for nectar, one of the select few is the lightning bolt 🥲 so that's going to have to be removed and replaced if you take this route! i haven't tried it with pretty places.
you can fully upgrade to 2.0. you would do this by adding the script linked above to the board wrappers, but this time you'd also remove the existing phosphoricons script, and you would have to manually update each icon in the skin to use the new syntax. you don't have to manually copy and paste each one from the site — it's quicker to just rearrange the code yourself — but it's obviously still quite a bit of work.
i do recognize that this is likely a bit annoying and restrictive for people using my skins, so i have decided to update the nectar and pretty places skin and template files to phosphor 2.0. i'm hoping to have this done by mid-september. everyone who already owns the skins will be notified they can download new versions.
for those who have made significant changes to the board wrappers, html templates or dohtml templates, or want to have the update earlier, updating on your own may still be the best option (if you want the upgrade). feel free to shoot me a discord message if you need more guidance, but hopefully this post clears some things up!









