Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(studio,www): repair Join us on Discord buttons (#47711)

Danny White2279c4e69ea4
diff --git a/apps/studio/components/ui/HelpPanel/HelpPanel.tsx b/apps/studio/components/ui/HelpPanel/HelpPanel.tsx
index 82db3d0c7d3..211639e3e9b 100644
--- a/apps/studio/components/ui/HelpPanel/HelpPanel.tsx
+++ b/apps/studio/components/ui/HelpPanel/HelpPanel.tsx
@@ -109,6 +109,7 @@ export const HelpPanel = ({
<Button
variant="secondary"
size="tiny"
+ className="bg-white hover:bg-white/90"
icon={
<SVG src={`${router.basePath}/img/discord-icon.svg`} className="h-4 w-4" />
}
diff --git a/apps/www/data/support.tsx b/apps/www/data/support.tsx
index b4edd7d9039..2870fb5b934 100644
--- a/apps/www/data/support.tsx
+++ b/apps/www/data/support.tsx
@@ -19,7 +19,7 @@ const data = {
label: 'Join us on Discord',
link: 'https://discord.supabase.com/',
target: '_blank',
- icon: <IconDiscord fill="var(--background-default)" />,
+ icon: <IconDiscord />,
type: 'secondary',
},
],
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index 807c016eb55..f110cb94061 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -51,7 +51,7 @@ const buttonVariants = cva(
`,
secondary: `
bg-foreground
- text-background hover:text-border-stronger
+ text-background hover:text-background/80
focus-visible:text-border-control
border-foreground-light hover:border-foreground-lighter
focus-visible:outline-border-strong
@@ -157,7 +157,7 @@ const IconContainerVariants = cva('inline-flex items-center justify-center shrin
variant: {
primary: 'text-brand-600',
default: 'text-foreground-lighter',
- secondary: 'text-border-muted',
+ secondary: 'text-background',
alternative: 'text-foreground-lighter',
outline: 'text-foreground-lighter',
dashed: 'text-foreground-lighter',
@@ -175,7 +175,7 @@ const loadingVariants = cva('', {
variant: {
primary: 'text-brand-600',
default: 'text-foreground-lighter',
- secondary: 'text-border-muted',
+ secondary: 'text-background',
alternative: 'text-foreground-lighter',
outline: 'text-foreground-lighter',
dashed: 'text-foreground-lighter',