Skip to content

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

update color scheme for google button (#65558)

Nick Fitzpatrick761e01ff7111
diff --git a/frontend/src/metabase/auth/components/GoogleButton/GoogleButton.tsx b/frontend/src/metabase/auth/components/GoogleButton/GoogleButton.tsx
index feab93c2a61..5a71d7e01b9 100644
--- a/frontend/src/metabase/auth/components/GoogleButton/GoogleButton.tsx
+++ b/frontend/src/metabase/auth/components/GoogleButton/GoogleButton.tsx
@@ -71,6 +71,11 @@ export const GoogleButton = ({ redirectUrl, isCard }: GoogleButtonProps) => {
theme={
resolvedColorScheme === "dark" ? "filled_black" : "outline"
}
+ // This is needed to ensure that no white border shows up around the
+ // login button in dark mode (UXW-2138)
+ containerProps={{
+ style: { colorScheme: "light" },
+ }}
/>
</GoogleOAuthProvider>
<Checkbox