@trafilea/afrodita-components 5.0.0-beta.241 → 5.0.0-beta.244

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/build/index.js CHANGED
@@ -12944,16 +12944,15 @@ var ScrollToTop = function (_a) {
12944
12944
  };
12945
12945
  var templateObject_1$S, templateObject_2$B;
12946
12946
 
12947
- var DEFAULT_COLOR = '#dfefeb';
12948
12947
  var Container$C = newStyled.div(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n padding: 0.75rem 0;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n padding: 0.75rem 0;\n"])), function (_a) {
12949
- var color = _a.color;
12950
- return color !== null && color !== void 0 ? color : DEFAULT_COLOR;
12948
+ var theme = _a.theme;
12949
+ return theme.component.orderBar.backgroundColor;
12951
12950
  });
12952
12951
  var H1 = newStyled.h1(templateObject_2$A || (templateObject_2$A = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"])), function (props) { return props.color; });
12953
12952
  var OrderBar = function (_a) {
12954
12953
  var message = _a.message, color = _a.color;
12955
12954
  var theme = useTheme();
12956
- return (jsxRuntime.jsxs(Container$C, __assign$1({ color: color }, { children: [jsxRuntime.jsx(Icon.Actions.Check, { width: 1.25, height: 0.875, fill: "#2F806A" }, void 0), jsxRuntime.jsx(H1, __assign$1({ color: theme.colors.shades['700'].color }, { children: message }), void 0)] }), void 0));
12955
+ return (jsxRuntime.jsxs(Container$C, __assign$1({ color: color }, { children: [jsxRuntime.jsx(Icon.Actions.Check, { width: 1.25, height: 0.875, fill: "#2F806A" }, void 0), jsxRuntime.jsx(H1, __assign$1({ color: theme.component.orderBar.fontColor }, { children: message }), void 0)] }), void 0));
12957
12956
  };
12958
12957
  var templateObject_1$R, templateObject_2$A;
12959
12958