Skip to content

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

UXW-2368 Fixes Alert's warning background color (#66964)

Brad Andersonb34216286fea
diff --git a/frontend/src/metabase/common/components/Alert/Alert.styled.tsx b/frontend/src/metabase/common/components/Alert/Alert.styled.tsx
index d7615b89f92..57f94b8e879 100644
--- a/frontend/src/metabase/common/components/Alert/Alert.styled.tsx
+++ b/frontend/src/metabase/common/components/Alert/Alert.styled.tsx
@@ -3,7 +3,6 @@ import { css } from "@emotion/react";
// eslint-disable-next-line no-restricted-imports
import styled from "@emotion/styled";
-import { lighten } from "metabase/lib/colors";
import { Icon } from "metabase/ui";
import { color } from "metabase/ui/utils/colors";
@@ -23,7 +22,7 @@ const colorsByVariant = {
background: {
info: "var(--mb-color-bg-light)",
error: color("background-error"),
- warning: lighten("warning", 0.5),
+ warning: color("bg-yellow"),
},
icon: {
info: color("text-dark"),