@oxyhq/services
Version:
Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀
51 lines (49 loc) • 4.71 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.OxyServicesLogo = void 0;
var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
var _theme = require("../../ui/styles/theme");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
/**
* SVG logo component for Oxy
* This component renders the Oxy logo as an SVG and uses theme colors by default
*/
const OxyServicesLogo = ({
width = 24,
height = 24,
style,
fillColor,
secondaryFillColor,
theme = 'light'
}) => {
// Get colors from theme
const themeColors = (0, _theme.useThemeColors)(theme);
// Use theme primary color if no fillColor is provided
const primaryColor = fillColor || themeColors.primary;
const innerFillColor = secondaryFillColor || themeColors.background;
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
width: width,
height: height,
viewBox: "0 0 500 429.13",
style: style,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M271.15,429.13c-12.38,0-24.78-1.63-36.86-4.86-39.01-10.16-71.27-35.39-90.69-71-39.48-71.06-15.42-164.13,53.69-207.79l8.31-6.07c8.55-6.03,18.59-9.22,29.05-9.22,16.08,0,31.29,7.71,40.68,20.62l.21,.29c15.8,22.39,10.69,53.67-11.4,69.73l-11.19,7.95-.62,.39c-25.72,16.07-35.17,50.02-21.08,75.68,6.3,11.29,16.51,19.38,28.66,22.64,3.73,1,7.56,1.51,11.36,1.51,8.39,0,16.81-2.5,24.34-7.22l78.31-48.52c24.92-15.46,33.73-49.13,19.61-75.04-5.41-9.73-14.12-17.34-24.45-21.25-12.62-4.59-22.64-13.82-28.22-26-5.56-12.15-6.01-25.72-1.27-38.26,7.14-19.55,25.89-32.66,46.75-32.66,6.08,0,12.02,1.11,17.68,3.31,32.46,12.08,59.83,35.74,77.09,66.65,39.48,71.79,15.05,165.27-54.39,208.52l-78.24,48.48c-23.04,14.45-49.82,22.13-77.33,22.13Z",
fill: primaryColor
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M413.49,337.29l-78.19,48.45c-19.71,12.36-41.77,18.38-64.16,18.38-10.02,0-20.38-1.34-30.41-4.01-32.08-8.35-59.14-29.41-75.18-58.81-33.42-60.15-12.7-138.67,45.78-175.1l8.69-6.35c11.36-8.02,27.07-5.35,35.09,5.68,8.02,11.36,5.35,27.07-5.68,35.09l-10.36,7.35c-37.43,23.39-50.12,71.84-29.74,108.93,9.69,17.38,25.4,29.74,44.11,34.75,18.71,5.01,38.43,2,55.47-8.69l78.19-48.45c36.09-22.39,48.79-70.84,28.4-108.27-8.35-15.04-21.72-26.73-37.76-32.75-13.03-4.68-19.71-19.05-14.7-32.08,4.68-13.03,19.38-19.71,32.08-14.7,27.07,10.02,49.79,29.74,64.16,55.47,33.08,60.15,12.7,138.67-45.78,175.1Z",
fill: innerFillColor
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M113.76,349.27c-4.23,0-10.64-.37-18-3.46-32.28-12.13-59.5-35.72-76.68-66.5C-20.68,207.75,3.73,114.23,73.47,70.79L151.71,22.31C175.41,7.7,202.25,0,229.37,0c12.25,0,24.49,1.57,36.38,4.67,38.93,10.14,71.27,35.3,91.07,70.84,39.59,71.26,15.52,164.32-53.59,207.98l-8.31,6.07c-8.54,6.03-18.59,9.22-29.05,9.22-16.08,0-31.29-7.71-40.68-20.62l-.21-.29c-15.8-22.39-10.69-53.67,11.4-69.74l11.19-7.94,.62-.39c25.72-16.07,35.18-50.02,21.08-75.68-6.3-11.3-16.5-19.38-28.66-22.64-3.74-1-7.56-1.51-11.37-1.51-8.39,0-16.8,2.5-24.33,7.22l-78.99,48.87c-24.91,15.45-33.71,49.12-19.6,75.03,5.41,9.74,14.13,17.34,24.46,21.25,25.81,9.4,39.23,38.05,29.91,63.99-7.24,19.76-26.08,32.93-46.93,32.93Z",
fill: primaryColor
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
d: "M137.15,307.89c-3.68,10.02-13.37,16.37-23.39,16.37-3.01,0-5.68-.33-8.69-1.67-27.07-10.02-49.79-29.74-64.16-55.47C7.5,206.97,28.22,128.45,86.69,92.02l78.19-48.45c28.74-17.71,62.49-23.06,94.57-14.7,32.08,8.35,59.14,29.41,75.52,58.81,33.42,60.15,12.7,138.67-45.78,175.1l-8.69,6.35c-11.36,8.02-27.07,5.35-35.09-5.68-8.02-11.36-5.35-27.07,5.68-35.09l10.36-7.35c37.43-23.39,50.12-71.84,29.74-108.93-9.69-17.38-25.4-29.74-44.11-34.75-18.71-5.01-38.43-2-55.47,8.69l-78.86,48.79c-36.09,22.39-48.79,70.84-28.4,108.27,8.35,15.04,21.72,26.73,37.76,32.75,13.03,4.68,19.71,19.05,15.04,32.08Z",
fill: innerFillColor
})]
});
};
exports.OxyServicesLogo = OxyServicesLogo;
var _default = exports.default = OxyServicesLogo;
//# sourceMappingURL=OxyServices.js.map