Skip to content

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

Update Button.tsx

Jonathan Summers-Muir42614032c967
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index a0afcf80f5e..fbb217b0a97 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -9,7 +9,7 @@ import { cn } from '@ui/lib/utils'
export type ButtonVariantProps = VariantProps<typeof buttonVariants>
const buttonVariants = cva(
`relative
- flex iems-center justify-center
+ flex items-center justify-center
cursor-pointer
inline-flex
items-center
@@ -30,9 +30,9 @@ const buttonVariants = cva(
variants: {
type: {
primary: `
- bg-brand-fixed-1100 hover:bg-brand-fixed-1000
+ bg-brand-600 dark:bg-brand/70 hover:bg-brand-600/80 dark:hover:bg-brand
text-white
- border-brand-fixed-1000 hover:border-brand-fixed-900 dark:border-brand-fixed-1000 dark:hover:border-brand-fixed-1000
+ border-brand dark:border-brand
focus-visible:outline-brand-600
shadow-sm`,
secondary: `