Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

adjust action styling

Scott Wilson1d9fc3be4673
diff --git a/frontend/src/components/v3/generic/Toast/Toast.tsx b/frontend/src/components/v3/generic/Toast/Toast.tsx
index 90ee88c6ce..698e5ba7b8 100644
--- a/frontend/src/components/v3/generic/Toast/Toast.tsx
+++ b/frontend/src/components/v3/generic/Toast/Toast.tsx
@@ -39,8 +39,9 @@ const Toaster = ({ ...props }: ToasterProps) => {
"!left-auto !right-2 !top-2 !transform-none !rounded-sm !border-transparent !bg-transparent !text-foreground/60 hover:!bg-foreground/10 hover:!text-foreground",
// self-end seats the action at the bottom of the toast; sonner's margin-left:auto
// pushes it right, so it lands bottom-right, clear of the top-right close button.
+ // Styled to match the v3 outline Button variant.
actionButton:
- "!self-end !rounded !border !border-border !bg-foreground/10 !text-foreground hover:!bg-foreground/20",
+ "!self-end !rounded-sm !border !border-border !bg-transparent !text-foreground hover:!bg-foreground/10 hover:!border-foreground/20",
cancelButton:
"!self-end !rounded !border !border-border !bg-transparent !text-foreground/80 hover:!bg-foreground/10",
// Status accent: a 4px strip painted as a hard-stop gradient so the card's radius