Options for which icons to use in a widget

Options for which icons to use in a widget


The thought occurred to us this morning that we are going to need an
option system for selecting which icons a widget uses. Even in the
last couple of days, we updated the icons in the static markup for the
default accordion icons (it's not yet updated in scripted demo) to use
triangles rather than plus/minus, but this won't suit every
developer's preference.
Particularly in the case where icons are toggled with state changes,
like in the accordion, we need options for the default and selected
icons. Ideally, these should be two separate options to allow greatest
flexibility.
As for how this is handled in the scripting and if icons should be in
the markup before transformation, we hope the dev team has ideas.
Thanks!
PS: widgets that are affected:
Accordion, datepicker, dialog (close icon, resize icon)
Also, how would I put an icon in a button (assuming our css supports
it), or in a Tab item? We should figure this out before releasing the
icons I think.