Help defining SVG classes in Illustrator
Hello, I am having a website built which includes an online layout tool or "builder". The builder combines various design controls, and one of them is the ability to add and change logo fill colors and outline (stroke) thicknesses and colors *separately* and in real time. I have provided my developer with SVG logos exported from Illustrator, but he says that they are not usable because they do not have any classes defined that specifically identify the "BODY" and "OUTLINE" elements of the logo.
He has, however, been able to do this on text/fonts added inside the builder.
That said, can anyone provide guidance on how or where to apply classes in Illustrator that would allow this? I have tried various things with Graphic Styles in Illustrator, but I can't seem to get them to flow through to the SVG code.
This seems like it should be fairly straightforward and I'm not sure why two classes are required. I thought fill and stroke elements could be added to SVG groups, but maybe it's not that easy and they can't be changed dynamically and in real time?
Many thanks in advance -- this is an important part of the app, so I really appreciate any guidance here that will make it work!
--Jim.