@aclymatepackages/modules 2.4.4 → 2.4.5

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.
@@ -66,14 +66,14 @@ const FootprintEquivalencies = _ref => {
66
66
  icon: _proSolidSvgIcons.faIcicles,
67
67
  buildString: (carbon, equivalency) => "Your ".concat(carbon, " lbs. of carbon is enough to permanently melt ").concat(equivalency, " square ").concat(equivalency === "1" ? "foot" : "feet", " of Arctic sea ice"),
68
68
  equivalency: (0, _formatters.formatDecimal)((0, _converters.convertFootprintToIce)(footprintTons)),
69
- color: "travel",
69
+ color: "primary",
70
70
  backgroundOpacity: 0.3
71
71
  }, {
72
72
  type: "eating-hamburgers",
73
73
  icon: _proSolidSvgIcons.faHamburger,
74
74
  buildString: (carbon, equivalency) => "Your ".concat(carbon, " lbs. of carbon is equivalent to the emissions of eating ").concat(equivalency, " hamburgers"),
75
75
  equivalency: (0, _formatters.formatDecimal)((0, _converters.footprintToHamburgers)(footprintTons)),
76
- color: "mileage",
76
+ color: "summary",
77
77
  backgroundOpacity: 0.4
78
78
  }, {
79
79
  type: "carbon-budget",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aclymatepackages/modules",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "Aclymate modules",
5
5
  "author": "William Loopesko",
6
6
  "main": "dist/index.js",
@@ -80,7 +80,7 @@ const FootprintEquivalencies = ({
80
80
  equivalency === "1" ? "foot" : "feet"
81
81
  } of Arctic sea ice`,
82
82
  equivalency: formatDecimal(convertFootprintToIce(footprintTons)),
83
- color: "travel",
83
+ color: "primary",
84
84
  backgroundOpacity: 0.3,
85
85
  },
86
86
  {
@@ -89,7 +89,7 @@ const FootprintEquivalencies = ({
89
89
  buildString: (carbon, equivalency) =>
90
90
  `Your ${carbon} lbs. of carbon is equivalent to the emissions of eating ${equivalency} hamburgers`,
91
91
  equivalency: formatDecimal(footprintToHamburgers(footprintTons)),
92
- color: "mileage",
92
+ color: "summary",
93
93
  backgroundOpacity: 0.4,
94
94
  },
95
95
  {