@octopusdeploy/design-system-components
Version:
The design systems component library.
16 lines (15 loc) • 1.83 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultIllustration = DefaultIllustration;
const jsx_runtime_1 = require("react/jsx-runtime");
const css_1 = require("@emotion/css");
const Theme_1 = require("../../Theme");
function DefaultIllustration() {
const currentTheme = (0, Theme_1.useIllustrationThemeName)();
const blobFill = currentTheme === "light" ? "#F2F8FD" : "#2E475D";
return ((0, jsx_runtime_1.jsxs)("svg", { className: illustrationStyles, viewBox: "0 0 230 230", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { fill: blobFill, fillRule: "evenodd", d: "M101.906 1.892c36.188-11.24 66.934 29.987 90.292 60.557 23.089 30.215 45.81 66.678 35.053 103.481-10.298 35.228-48.764 50.475-83.084 60.833-26.848 8.104-53.396-.178-78.936-11.932-26.88-12.37-64.125-24.141-65.213-54.407-1.072-29.828 45.195-32.391 61.199-57.291C81.815 71.083 66.147 13 101.906 1.893", clipRule: "evenodd" }), (0, jsx_runtime_1.jsx)("path", { fill: "#0d80d8", d: "M80.124 146.099c7.319-4.796 15.924-13.032 12.662-22.73-1.781-5.283-4.25-9.805-4.58-15.514a35.6 35.6 0 0 1 2.095-14.22c6.57-17.934 26.161-26.43 43.746-21.025 16.343 4.994 27.598 24.36 20.818 41.107-3.906 9.682-5.657 17.295 3.053 24.77 2.365 2.055 8.112 5.115 8.082 8.754 0 4.75-9.204-1.02-10.222-1.842 1.167 2.07 12.736 14.341 5.373 15.224-6.78.807-12.766-8.815-16.837-12.956-6.84-6.942-5.642 8.419-5.672 11.586 0 5.009-3.532 15.225-9.773 8.556-5.148-5.465-3.203-14.159-6.795-20.218-3.921-6.653-10.476 6.638-12.077 9.135-1.826 2.725-10.955 15.864-14.577 8.86-2.994-5.678 1.766-14.6 4.07-19.791-.838 1.857-6.824 4.567-8.575 5.526a23 23 0 0 1-12.392 2.908c-9.19-.685-2.14-5.648 1.601-8.099z" })] }));
}
const illustrationStyles = (0, css_1.css)({
width: "100%",
display: "block",
});