Forum Discussion

MathNotermans-9's avatar
MathNotermans-9
Community Member
4 years ago

Storyline SVG Icons

Someone asked about how to change the color of Storyline icons. So i mocked up a sample to show how you can target Storyline SVG icons and color them with Javascript. When getting that done i noticed Storyline uses 2 different methods to setup the icons. Some are a simple straightforward SVG. So that worked without any problem. But others were groups of SVG-elements combined to create a single icon. So i had to get that working somehow to. I did, but funny side-effect of my random colorpart i added is that now each element of the grouped SVGs get a seperate color ;-)

https://360.articulate.com/review/content/ca5af34c-5c88-4b52-846c-2a754a9a5576/review



Change the accessibility name in the inputfield and click 'color icon' to see it working. When i fixed the randomness for the grouped icons im gonna share the Storyline.