Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

[Dark Mode] Update Metabot illustration (#65185)

Sloan Sparger71f0ce14699d
diff --git a/frontend/src/metabase/common/components/MetabotLogo/MetabotLogo.module.css b/frontend/src/metabase/common/components/MetabotLogo/MetabotLogo.module.css
index 95c63b56494..ec53470afba 100644
--- a/frontend/src/metabase/common/components/MetabotLogo/MetabotLogo.module.css
+++ b/frontend/src/metabase/common/components/MetabotLogo/MetabotLogo.module.css
@@ -1,5 +1,15 @@
.MetabotLogo {
- --illustration-primary: var(--mb-color-brand);
- --illustration-secondary: var(--mb-color-brand-lighter);
- --illustration-background: var(--mb-color-bg-light);
+ --metabot-face: var(--mb-color-brand);
+ --metabot-face-bg: var(--mb-color-brand-lighter);
+ --metabot-buttons-bg: var(--mb-color-brand-light);
+ --metabot-outline: var(--mb-color-brand);
+ --metabot-body: var(--mb-color-brand-light);
+ --metabot-frames: var(--metabot-face);
+
+ [data-mantine-color-scheme="dark"] & {
+ --metabot-face: var(--mb-color-bg-light);
+ --metabot-face-bg: var(--mb-color-brand);
+ --metabot-buttons-bg: var(--mb-color-brand-light);
+ --metabot-frames: var(--mb-color-bg-white);
+ }
}
diff --git a/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.module.css b/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.module.css
new file mode 100644
index 00000000000..c9d9bb6040b
--- /dev/null
+++ b/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.module.css
@@ -0,0 +1,53 @@
+.greetingRoot {
+ display: flex;
+ align-items: center;
+}
+
+.greetingLogoContainer {
+ position: relative;
+ width: 4rem;
+ height: 2.5rem;
+ margin-inline-end: 0.5rem;
+
+ @media (--breakpoint-min-xl) {
+ width: 4rem;
+ height: 3rem;
+ }
+}
+
+.greetingLogo {
+ width: 100%;
+ position: absolute;
+ top: 0;
+
+ &.isCool {
+ opacity: 1;
+ }
+
+ &.isNotCool {
+ opacity: 0;
+ }
+}
+
+.greetingMessage {
+ color: var(--mb-color-text-dark);
+ font-weight: bold;
+ line-height: 1.5rem;
+
+ &.withLogo {
+ font-size: 1.125rem;
+ margin-left: 0.5rem;
+
+ @media (--breakpoint-min-xl) {
+ font-size: 1.25rem;
+ }
+ }
+
+ &.withoutLogo {
+ font-size: 1.25rem;
+
+ @media (--breakpoint-min-xl) {
+ font-size: 1.5rem;
+ }
+ }
+}
diff --git a/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.styled.tsx b/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.styled.tsx
deleted file mode 100644
index dc304cda8f6..00000000000
--- a/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.styled.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-// eslint-disable-next-line no-restricted-imports
-import styled from "@emotion/styled";
-
-import { MetabotLogo } from "metabase/common/components/MetabotLogo";
-import { breakpointMinExtraLarge } from "metabase/styled-components/theme";
-
-export const GreetingRoot = styled.div`
- display: flex;
- align-items: center;
-`;
-
-export const GreetingLogoContainer = styled.div`
- position: relative;
- width: 4rem;
- height: 2.5rem;
- margin-inline-end: 0.5rem;
-
- ${breakpointMinExtraLarge} {
- width: 4rem;
- height: 3rem;
- }
-`;
-
-export const GreetingLogo = styled(MetabotLogo)<{ isCool: boolean }>`
- width: 100%;
- position: absolute;
- top: 0;
- opacity: ${(props) => (props.isCool ? 1 : 0)};
-`;
-
-interface GreetingMessageProps {
- showLogo?: boolean;
-}
-
-export const GreetingMessage = styled.span<GreetingMessageProps>`
- color: var(--mb-color-text-dark);
- font-size: ${(props) => (props.showLogo ? "1.125rem" : "1.25rem")};
- font-weight: bold;
- line-height: 1.5rem;
- margin-left: ${(props) => props.showLogo && "0.5rem"};
-
- ${breakpointMinExtraLarge} {
- font-size: ${(props) => (props.showLogo ? "1.25rem" : "1.5rem")};
- }
-`;
diff --git a/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.tsx b/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.tsx
index 09d406e79ee..0de14164381 100644
--- a/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.tsx
+++ b/frontend/src/metabase/home/components/HomeGreeting/HomeGreeting.tsx
@@ -1,20 +1,17 @@
+import cx from "classnames";
import { useEffect, useMemo, useState } from "react";
import { t } from "ttag";
import _ from "underscore";
-import styles from "metabase/css/core/animation.module.css";
+import { MetabotLogo } from "metabase/common/components/MetabotLogo";
+import animationStyles from "metabase/css/core/animation.module.css";
import { useSelector } from "metabase/lib/redux";
import { getUser } from "metabase/selectors/user";
import { Tooltip } from "metabase/ui";
import { getHasMetabotLogo } from "../../selectors";
-import {
- GreetingLogo,
- GreetingLogoContainer,
- GreetingMessage,
- GreetingRoot,
-} from "./HomeGreeting.styled";
+import S from "./HomeGreeting.module.css";
export const HomeGreeting = (): JSX.Element => {
const user = useSelector(getUser);
@@ -23,12 +20,15 @@ export const HomeGreeting = (): JSX.Element => {
const message = useMemo(() => getMessage(name), [name]);
return (
- <GreetingRoot>
+ <div className={S.greetingRoot}>
{showLogo && <MetabotGreeting />}
- <GreetingMessage data-testid="greeting-message" showLogo={showLogo}>
+ <span
+ data-testid="greeting-message"
+ className={cx(S.greetingMessage, showLogo ? S.withLogo : S.withoutLogo)}
+ >
{message}
- </GreetingMessage>
- </GreetingRoot>
+ </span>
+ </div>
);
};
@@ -52,30 +52,16 @@ export const MetabotGreeting = () => {
useEffect(() => {
const handleKeyDown = (event: KeyboardEvent) => {
- setBuffer((prevBuffer) => {
- const newBuffer = [...prevBuffer, event.key];
- if (newBuffer.length > 10) {
- newBuffer.shift();
- }
- return newBuffer;
- });
+ setBuffer((prevBuffer) => [...prevBuffer, event.key].slice(-10));
};
-
window.addEventListener("keydown", handleKeyDown);
-
- return () => {
- window.removeEventListener("keydown", handleKeyDown);
- };
+ return () => window.removeEventListener("keydown", handleKeyDown);
}, []);
useEffect(() => {
if (isCoolEnough(buffer)) {
- setTimeout(() => {
- setIsCooling(true);
- }, 1);
- setTimeout(() => {
- setIsCool(true);
- }, 300);
+ setTimeout(() => setIsCooling(true), 1);
+ setTimeout(() => setIsCool(true), 300);
}
}, [buffer]);
@@ -84,18 +70,24 @@ export const MetabotGreeting = () => {
label={t`Don't tell anyone, but you're my favorite.`}
position="bottom"
>
- <GreetingLogoContainer>
- <GreetingLogo
- isCool={isCool}
- className={`${styles.SpinOut} ${isCooling ? styles.SpinOutActive : ""}`}
+ <div className={S.greetingLogoContainer}>
+ <MetabotLogo
+ className={cx(S.greetingLogo, animationStyles.SpinOut, {
+ [S.isCool]: isCool,
+ [S.isNotCool]: !isCool,
+ [animationStyles.SpinOutActive]: isCooling,
+ })}
variant="cool"
/>
- <GreetingLogo
- isCool={!isCool}
- className={`${styles.SpinOut} ${isCooling ? styles.SpinOutActive : ""}`}
+ <MetabotLogo
+ className={cx(S.greetingLogo, animationStyles.SpinOut, {
+ [S.isCool]: !isCool,
+ [S.isNotCool]: isCool,
+ [animationStyles.SpinOutActive]: isCooling,
+ })}
variant="happy"
/>
- </GreetingLogoContainer>
+ </div>
</Tooltip>
);
};
diff --git a/resources/frontend_client/app/assets/img/metabot-happy.svg b/resources/frontend_client/app/assets/img/metabot-happy.svg
index 58ee621af59..37d6e4deba8 100644
--- a/resources/frontend_client/app/assets/img/metabot-happy.svg
+++ b/resources/frontend_client/app/assets/img/metabot-happy.svg
@@ -1,2 +1,13 @@
-<svg width="58" height="43" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x=".75" y=".75" width="56.5" height="41.5" rx="3.25" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)" stroke-width="1.5"/><rect x="7" y="6" width="44" height="26" rx="2" fill="var(--illustration-background)"
- stroke="var(--illustration-primary)" stroke-width="1.5"/><path d="M31 20.5h1c0 1.77-1.048 3-3 3s-3-1.23-3-3h1c0 1 .5 2 2 2s2-1 2-2Z" fill="var(--illustration-primary)"/><circle cx="20.75" cy="15.75" r="1.75" fill="var(--illustration-primary)"/><circle cx="36.75" cy="15.75" r="1.75" fill="var(--illustration-primary)"/><circle cx="43.5" cy="37" r="1.5" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)"/><circle cx="49" cy="37" r="1.5" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)"/></svg>
+<svg width="58" height="43" viewBox="0 0 58 43" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M54 0.75H4C2.20507 0.75 0.75 2.20507 0.75 4V39C0.75 40.7949 2.20507 42.25 4 42.25H54C55.7949 42.25 57.25 40.7949 57.25 39V4C57.25 2.20507 55.7949 0.75 54 0.75Z" fill="var(--metabot-body)"/>
+<path d="M56.5 4C56.5 2.61929 55.3807 1.5 54 1.5H4C2.61929 1.5 1.5 2.61929 1.5 4V39C1.5 40.3807 2.61929 41.5 4 41.5H54C55.3807 41.5 56.5 40.3807 56.5 39V4ZM58 39C58 41.2091 56.2091 43 54 43H4C1.79086 43 0 41.2091 0 39V4C0 1.79086 1.79086 0 4 0H54C56.2091 0 58 1.79086 58 4V39Z" fill="var(--metabot-outline)"/>
+<path d="M49 6H9C7.89543 6 7 6.89543 7 8V30C7 31.1046 7.89543 32 9 32H49C50.1046 32 51 31.1046 51 30V8C51 6.89543 50.1046 6 49 6Z" fill="var(--metabot-face-bg)"/>
+<path d="M50.25 8C50.25 7.30964 49.6904 6.75 49 6.75H9C8.30964 6.75 7.75 7.30964 7.75 8V30C7.75 30.6904 8.30964 31.25 9 31.25H49C49.6904 31.25 50.25 30.6904 50.25 30V8ZM51.75 30C51.75 31.5188 50.5188 32.75 49 32.75H9C7.48122 32.75 6.25 31.5188 6.25 30V8C6.25 6.48122 7.48122 5.25 9 5.25H49C50.5188 5.25 51.75 6.48122 51.75 8V30Z" fill="var(--metabot-outline)"/>
+<path d="M31 20.5H32C32 22.27 30.952 23.5 29 23.5C27.048 23.5 26 22.27 26 20.5H27C27 21.5 27.5 22.5 29 22.5C30.5 22.5 31 21.5 31 20.5Z" fill="var(--metabot-face)"/>
+<path d="M20.75 17.5C21.7165 17.5 22.5 16.7165 22.5 15.75C22.5 14.7835 21.7165 14 20.75 14C19.7835 14 19 14.7835 19 15.75C19 16.7165 19.7835 17.5 20.75 17.5Z" fill="var(--metabot-face)"/>
+<path d="M36.75 17.5C37.7165 17.5 38.5 16.7165 38.5 15.75C38.5 14.7835 37.7165 14 36.75 14C35.7835 14 35 14.7835 35 15.75C35 16.7165 35.7835 17.5 36.75 17.5Z" fill="var(--metabot-face)"/>
+<path d="M43.5 38.5C44.3284 38.5 45 37.8284 45 37C45 36.1716 44.3284 35.5 43.5 35.5C42.6716 35.5 42 36.1716 42 37C42 37.8284 42.6716 38.5 43.5 38.5Z" fill="var(--metabot-buttons-bg)"/>
+<path d="M44.5 37C44.5 36.4477 44.0523 36 43.5 36C42.9477 36 42.5 36.4477 42.5 37C42.5 37.5523 42.9477 38 43.5 38C44.0523 38 44.5 37.5523 44.5 37ZM45.5 37C45.5 38.1046 44.6046 39 43.5 39C42.3954 39 41.5 38.1046 41.5 37C41.5 35.8954 42.3954 35 43.5 35C44.6046 35 45.5 35.8954 45.5 37Z" fill="var(--metabot-outline)"/>
+<path d="M49 38.5C49.8284 38.5 50.5 37.8284 50.5 37C50.5 36.1716 49.8284 35.5 49 35.5C48.1716 35.5 47.5 36.1716 47.5 37C47.5 37.8284 48.1716 38.5 49 38.5Z" fill="var(--metabot-buttons-bg)"/>
+<path d="M50 37C50 36.4477 49.5523 36 49 36C48.4477 36 48 36.4477 48 37C48 37.5523 48.4477 38 49 38C49.5523 38 50 37.5523 50 37ZM51 37C51 38.1046 50.1046 39 49 39C47.8954 39 47 38.1046 47 37C47 35.8954 47.8954 35 49 35C50.1046 35 51 35.8954 51 37Z" fill="var(--metabot-outline)"/>
+</svg>
diff --git a/resources/frontend_client/app/assets/img/metabot-sad.svg b/resources/frontend_client/app/assets/img/metabot-sad.svg
index b853599a859..63565cf9e23 100644
--- a/resources/frontend_client/app/assets/img/metabot-sad.svg
+++ b/resources/frontend_client/app/assets/img/metabot-sad.svg
@@ -1 +1,9 @@
-<svg width="58" height="43" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x=".75" y=".75" width="56.5" height="41.5" rx="3.25" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)" stroke-width="1.5"/><rect x="7" y="6" width="44" height="26" rx="2" fill="var(--illustration-background)" stroke="var(--illustration-primary)" stroke-width="1.5"/><path d="M27 23.5h-1c0-1.77 1.048-3 3-3s3 1.23 3 3h-1c0-1-.5-2-2-2s-2 1-2 2Z" fill="var(--illustration-primary)"/><circle cx="20.75" cy="15.75" r="1.75" fill="var(--illustration-primary)"/><circle cx="36.75" cy="15.75" r="1.75" fill="var(--illustration-primary)"/><circle cx="43.5" cy="37" r="1.5" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)"/><circle cx="49" cy="37" r="1.5" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)"/></svg>
+<svg width="58" height="43" viewBox="0 0 58 43" fill="none" xmlns="http://www.w3.org/2000/svg">
+<rect x=".75" y=".75" width="56.5" height="41.5" rx="3.25" fill="var(--metabot-body)" stroke="var(--metabot-outline)" stroke-width="1.5"/>
+<rect x="7" y="6" width="44" height="26" rx="2" fill="var(--metabot-face-bg)" stroke="var(--metabot-outline)" stroke-width="1.5"/>
+<path d="M27 23.5h-1c0-1.77 1.048-3 3-3s3 1.23 3 3h-1c0-1-.5-2-2-2s-2 1-2 2Z" fill="var(--metabot-face)"/>
+<circle cx="20.75" cy="15.75" r="1.75" fill="var(--metabot-face)"/>
+<circle cx="36.75" cy="15.75" r="1.75" fill="var(--metabot-face)"/>
+<circle cx="43.5" cy="37" r="1.5" fill="var(--metabot-buttons-bg)" stroke="var(--metabot-outline)"/>
+<circle cx="49" cy="37" r="1.5" fill="var(--metabot-buttons-bg)" stroke="var(--metabot-outline)"/>
+</svg>
diff --git a/resources/frontend_client/app/assets/img/metabot-shades.svg b/resources/frontend_client/app/assets/img/metabot-shades.svg
index 6db8a476d3c..a9cf2c2724b 100644
--- a/resources/frontend_client/app/assets/img/metabot-shades.svg
+++ b/resources/frontend_client/app/assets/img/metabot-shades.svg
@@ -1,22 +1,22 @@
<svg width="58" height="43" viewBox="0 0 58 43" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M54 0.75H4C2.20507 0.75 0.75 2.20507 0.75 4V39C0.75 40.7949 2.20507 42.25 4 42.25H54C55.7949 42.25 57.25 40.7949 57.25 39V4C57.25 2.20507 55.7949 0.75 54 0.75Z" fill="var(--illustration-secondary)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M4 1.5C2.61929 1.5 1.5 2.61929 1.5 4V39C1.5 40.3807 2.61929 41.5 4 41.5H54C55.3807 41.5 56.5 40.3807 56.5 39V4C56.5 2.61929 55.3807 1.5 54 1.5H4ZM0 4C0 1.79086 1.79086 0 4 0H54C56.2091 0 58 1.79086 58 4V39C58 41.2091 56.2091 43 54 43H4C1.79086 43 0 41.2091 0 39V4Z" fill="var(--illustration-primary)"/>
-<path d="M49 6H9C7.89543 6 7 6.89543 7 8V30C7 31.1046 7.89543 32 9 32H49C50.1046 32 51 31.1046 51 30V8C51 6.89543 50.1046 6 49 6Z" fill="var(--illustration-background)"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M9 6.75C8.30964 6.75 7.75 7.30964 7.75 8V30C7.75 30.6904 8.30964 31.25 9 31.25H49C49.6904 31.25 50.25 30.6904 50.25 30V8C50.25 7.30964 49.6904 6.75 49 6.75H9ZM6.25 8C6.25 6.48122 7.48122 5.25 9 5.25H49C50.5188 5.25 51.75 6.48122 51.75 8V30C51.75 31.5188 50.5188 32.75 49 32.75H9C7.48122 32.75 6.25 31.5188 6.25 30V8Z" fill="var(--illustration-primary)"/>
-<path d="M31 20.5H32C32 22.27 30.952 23.5 29 23.5C27.048 23.5 26 22.27 26 20.5H27C27 21.5 27.5 22.5 29 22.5C30.5 22.5 31 21.5 31 20.5Z" fill="var(--illustration-primary)"/>
-<path d="M20.75 17.5C21.7165 17.5 22.5 16.7165 22.5 15.75C22.5 14.7835 21.7165 14 20.75 14C19.7835 14 19 14.7835 19 15.75C19 16.7165 19.7835 17.5 20.75 17.5Z" fill="var(--illustration-primary)"/>
-<path d="M36.75 17.5C37.7165 17.5 38.5 16.7165 38.5 15.75C38.5 14.7835 37.7165 14 36.75 14C35.7835 14 35 14.7835 35 15.75C35 16.7165 35.7835 17.5 36.75 17.5Z" fill="var(--illustration-primary)"/>
-<path d="M43.5 38.5C44.3284 38.5 45 37.8284 45 37C45 36.1716 44.3284 35.5 43.5 35.5C42.6716 35.5 42 36.1716 42 37C42 37.8284 42.6716 38.5 43.5 38.5Z" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)"/>
-<path d="M49 38.5C49.8284 38.5 50.5 37.8284 50.5 37C50.5 36.1716 49.8284 35.5 49 35.5C48.1716 35.5 47.5 36.1716 47.5 37C47.5 37.8284 48.1716 38.5 49 38.5Z" fill="var(--illustration-secondary)" stroke="var(--illustration-primary)"/>
-<path d="M28 8.53804C28 11.5727 26.433 15.7154 23.7015 19.1061C20.9752 22.4905 17.1616 25.038 12.7273 25.038C9.31789 25.038 6.78399 23.9897 5.09693 22.1374C3.40321 20.2778 2.5 17.5387 2.5 14.038C2.5 10.7781 3.64919 8.16859 5.63142 6.37013C7.61899 4.56684 10.49 3.53804 14 3.53804C14.1693 3.53804 14.4053 3.53246 14.6962 3.52558C16.1915 3.49022 19.1361 3.42058 21.9152 3.89906C23.5749 4.18483 25.1186 4.65831 26.2356 5.41345C27.3311 6.15403 28 7.14939 28 8.53804ZM45.2727 25.038C40.8384 25.038 37.0248 22.4905 34.2985 19.1061C31.567 15.7154 30 11.5727 30 8.53804C30 7.14939 30.6689 6.15403 31.7644 5.41345C32.8814 4.65831 34.4251 4.18483 36.0848 3.89906C38.8639 3.42058 41.8085 3.49022 43.3038 3.52558C43.5947 3.53246 43.8307 3.53804 44 3.53804C47.51 3.53804 50.381 4.56684 52.3686 6.37013C54.3508 8.16859 55.5 10.7781 55.5 14.038C55.5 17.5387 54.5968 20.2778 52.9031 22.1374C51.216 23.9897 48.6821 25.038 45.2727 25.038Z" fill="url(#paint0_linear_4_66)" stroke="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M30 9H27.5V8H30V9Z" fill="white"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 3C17.5 2.72386 17.7239 2.5 18 2.5H40C40.2761 2.5 40.5 2.72386 40.5 3C40.5 3.27614 40.2761 3.5 40 3.5H18C17.7239 3.5 17.5 3.27614 17.5 3Z" fill="white"/>
-<path d="M55 11H58V13H55V11Z" fill="var(--illustration-background)"/>
-<path d="M0 11H3V13H0V11Z" fill="var(--illustration-background)"/>
+<path d="M54 0.75H4C2.20507 0.75 0.75 2.20507 0.75 4V39C0.75 40.7949 2.20507 42.25 4 42.25H54C55.7949 42.25 57.25 40.7949 57.25 39V4C57.25 2.20507 55.7949 0.75 54 0.75Z" fill="var(--metabot-body)"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M4 1.5C2.61929 1.5 1.5 2.61929 1.5 4V39C1.5 40.3807 2.61929 41.5 4 41.5H54C55.3807 41.5 56.5 40.3807 56.5 39V4C56.5 2.61929 55.3807 1.5 54 1.5H4ZM0 4C0 1.79086 1.79086 0 4 0H54C56.2091 0 58 1.79086 58 4V39C58 41.2091 56.2091 43 54 43H4C1.79086 43 0 41.2091 0 39V4Z" fill="var(--metabot-outline)"/>
+<path d="M49 6H9C7.89543 6 7 6.89543 7 8V30C7 31.1046 7.89543 32 9 32H49C50.1046 32 51 31.1046 51 30V8C51 6.89543 50.1046 6 49 6Z" fill="var(--metabot-face-bg)"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M9 6.75C8.30964 6.75 7.75 7.30964 7.75 8V30C7.75 30.6904 8.30964 31.25 9 31.25H49C49.6904 31.25 50.25 30.6904 50.25 30V8C50.25 7.30964 49.6904 6.75 49 6.75H9ZM6.25 8C6.25 6.48122 7.48122 5.25 9 5.25H49C50.5188 5.25 51.75 6.48122 51.75 8V30C51.75 31.5188 50.5188 32.75 49 32.75H9C7.48122 32.75 6.25 31.5188 6.25 30V8Z" fill="var(--metabot-outline)"/>
+<path d="M31 20.5H32C32 22.27 30.952 23.5 29 23.5C27.048 23.5 26 22.27 26 20.5H27C27 21.5 27.5 22.5 29 22.5C30.5 22.5 31 21.5 31 20.5Z" fill="var(--metabot-face)"/>
+<path d="M20.75 17.5C21.7165 17.5 22.5 16.7165 22.5 15.75C22.5 14.7835 21.7165 14 20.75 14C19.7835 14 19 14.7835 19 15.75C19 16.7165 19.7835 17.5 20.75 17.5Z" fill="var(--metabot-face)"/>
+<path d="M36.75 17.5C37.7165 17.5 38.5 16.7165 38.5 15.75C38.5 14.7835 37.7165 14 36.75 14C35.7835 14 35 14.7835 35 15.75C35 16.7165 35.7835 17.5 36.75 17.5Z" fill="var(--metabot-face)"/>
+<path d="M43.5 38.5C44.3284 38.5 45 37.8284 45 37C45 36.1716 44.3284 35.5 43.5 35.5C42.6716 35.5 42 36.1716 42 37C42 37.8284 42.6716 38.5 43.5 38.5Z" fill="var(--metabot-buttons-bg)" stroke="var(--metabot-outline)"/>
+<path d="M49 38.5C49.8284 38.5 50.5 37.8284 50.5 37C50.5 36.1716 49.8284 35.5 49 35.5C48.1716 35.5 47.5 36.1716 47.5 37C47.5 37.8284 48.1716 38.5 49 38.5Z" fill="var(--metabot-buttons-bg)" stroke="var(--metabot-outline)"/>
+<path d="M28 8.53804C28 11.5727 26.433 15.7154 23.7015 19.1061C20.9752 22.4905 17.1616 25.038 12.7273 25.038C9.31789 25.038 6.78399 23.9897 5.09693 22.1374C3.40321 20.2778 2.5 17.5387 2.5 14.038C2.5 10.7781 3.64919 8.16859 5.63142 6.37013C7.61899 4.56684 10.49 3.53804 14 3.53804C14.1693 3.53804 14.4053 3.53246 14.6962 3.52558C16.1915 3.49022 19.1361 3.42058 21.9152 3.89906C23.5749 4.18483 25.1186 4.65831 26.2356 5.41345C27.3311 6.15403 28 7.14939 28 8.53804ZM45.2727 25.038C40.8384 25.038 37.0248 22.4905 34.2985 19.1061C31.567 15.7154 30 11.5727 30 8.53804C30 7.14939 30.6689 6.15403 31.7644 5.41345C32.8814 4.65831 34.4251 4.18483 36.0848 3.89906C38.8639 3.42058 41.8085 3.49022 43.3038 3.52558C43.5947 3.53246 43.8307 3.53804 44 3.53804C47.51 3.53804 50.381 4.56684 52.3686 6.37013C54.3508 8.16859 55.5 10.7781 55.5 14.038C55.5 17.5387 54.5968 20.2778 52.9031 22.1374C51.216 23.9897 48.6821 25.038 45.2727 25.038Z" fill="url(#paint0_linear_4_66)" stroke="var(--metabot-frames)"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M30 9H27.5V8H30V9Z" fill="var(--metabot-frames)"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 3C17.5 2.72386 17.7239 2.5 18 2.5H40C40.2761 2.5 40.5 2.72386 40.5 3C40.5 3.27614 40.2761 3.5 40 3.5H18C17.7239 3.5 17.5 3.27614 17.5 3Z" fill="var(--metabot-frames)"/>
+<path d="M55 11H58V13H55V11Z" fill="var(--metabot-frames)"/>
+<path d="M0 11H3V13H0V11Z" fill="var(--metabot-frames)"/>
<defs>
<linearGradient id="paint0_linear_4_66" x1="42.75" y1="3" x2="42.75" y2="25.538" gradientUnits="userSpaceOnUse">
-<stop stop-color="var(--illustration-primary)"/>
-<stop offset="1" stop-color="var(--illustration-secondary)"/>
+<stop stop-color="var(--metabot-outline)"/>
+<stop offset="1" stop-color="var(--mb-color-bg-light)"/>
</linearGradient>
</defs>
</svg>