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 +4 -1
- package/dist/iife.js +21 -21
- package/dist/iife.js.map +5 -5
- package/dist/rating.js +10 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
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
|
-
|
|
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');
|