design-zystem 1.0.270 → 1.0.271

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/index.js CHANGED
@@ -1031,7 +1031,7 @@ var Button = (_a) => {
1031
1031
  name: icon,
1032
1032
  size,
1033
1033
  family: "regular",
1034
- color: outline ? variant : iconColor
1034
+ color: iconColor != null ? iconColor : outline ? variant : colors.white
1035
1035
  }
1036
1036
  ) : icon;
1037
1037
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
package/dist/index.mjs CHANGED
@@ -895,7 +895,7 @@ var Button = (_a) => {
895
895
  name: icon,
896
896
  size,
897
897
  family: "regular",
898
- color: outline ? variant : iconColor
898
+ color: iconColor != null ? iconColor : outline ? variant : colors.white
899
899
  }
900
900
  ) : icon;
901
901
  return /* @__PURE__ */ jsxs2(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.270",
3
+ "version": "1.0.271",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",