tosijs-ui 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/icons.js CHANGED
@@ -656,7 +656,10 @@ function makeIcon(spec, parts) {
656
656
  }
657
657
  else if (classes.has('stroked')) {
658
658
  svg.style.stroke = varDefault.tosiIconStroke('currentColor');
659
- svg.style.fill = 'none';
659
+ // Honor an explicit fill (default none) so a stroked icon can also be
660
+ // filled — the modern single-icon model (e.g. a star that's outlined when
661
+ // empty and solid when active).
662
+ svg.style.fill = varDefault.tosiIconFill('none');
660
663
  }
661
664
  else {
662
665
  svg.style.stroke = varDefault.tosiIconStroke('currentColor');