diff --git a/packages/keychain/src/components/ErrorAlert.tsx b/packages/keychain/src/components/ErrorAlert.tsx
index aad025c27..8ecb5b9f9 100644
--- a/packages/keychain/src/components/ErrorAlert.tsx
+++ b/packages/keychain/src/components/ErrorAlert.tsx
@@ -54,11 +54,11 @@ export function ErrorAlert({
const styles = useMemo(() => {
switch (variant) {
case "info":
- return { bg: "bg-info", text: "text-info-foreground" };
+ return { bg: "bg-[#95c1ea]", text: "text-[black]" };
case "warning":
- return { bg: "bg-warning", text: "text-warning-foreground" };
+ return { bg: "bg-[#1f2320]", text: "text-[white]" };
case "error":
- return { bg: "bg-error", text: "text-error-foreground" };
+ return { bg: "bg-[#f9b9b9]", text: "text-[black]" };
default:
return { bg: "bg-secondary", text: "text-secondary-foreground" };
}
diff --git a/packages/keychain/src/components/connect/CreateSession.tsx b/packages/keychain/src/components/connect/CreateSession.tsx
index 8165cafb9..29bcc87e5 100644
--- a/packages/keychain/src/components/connect/CreateSession.tsx
+++ b/packages/keychain/src/components/connect/CreateSession.tsx
@@ -159,7 +159,7 @@ export function CreateSession({
{!policies?.verified && (
!isConnecting && setIsConsent(!isConsent)}
>
+
);
case "warning":
return (
-
+
);
case "error":
return (
);
}
diff --git a/packages/ui-next/src/preset.ts b/packages/ui-next/src/preset.ts
index d930e0252..2b2875c5e 100644
--- a/packages/ui-next/src/preset.ts
+++ b/packages/ui-next/src/preset.ts
@@ -54,21 +54,6 @@ export const cartridgeTWPreset: Partial
= {
spacer: {
DEFAULT: "hsl(var(--spacer))",
},
- info: {
- DEFAULT: "hsl(var(--info))",
- foreground: "hsl(var(--info-foreground))",
- icon: "hsl(var(--info-icon))",
- },
- warning: {
- DEFAULT: "hsl(var(--warning))",
- foreground: "hsl(var(--warning-foreground))",
- icon: "hsl(var(--warning-icon))",
- },
- error: {
- DEFAULT: "hsl(var(--error))",
- foreground: "hsl(var(--error-foreground))",
- icon: "hsl(var(--error-icon))",
- },
},
extend: {
fontFamily: {
diff --git a/packages/ui-next/src/themes/default.css b/packages/ui-next/src/themes/default.css
index f24e4b537..cfa552e4f 100644
--- a/packages/ui-next/src/themes/default.css
+++ b/packages/ui-next/src/themes/default.css
@@ -24,25 +24,14 @@
--accent: 207 15% 85%;
--accent-foreground: 132 6% 30%;
- --destructive: 7 72% 65%;
- --destructive-foreground: 7 72% 65%;
+ --destructive: 0 72% 65%;
+ --destructive-foreground: 0 72% 65%;
--border: 220 60% 99%;
--input: 210 2.48% 94.9%; /* bg.secondary */
--ring: 0 0% 0%;
-
- --radius: 0.5rem;
-
--spacer: 0 0% 0%; /* solid-fills/spacer */
- --info: 209 67% 75%;
- --info-foreground: 135 8% 9%;
- --info-icon: 208 100% 30%;
- --warning: 135 6% 13%;
- --warning-foreground: 0 0% 100%;
- --warning-icon: 47 100% 49%;
- --error: 0 84% 85%;
- --error-foreground: 0 0% 0%;
- --error-icon: 0 72% 65%;
+ --radius: 0.5rem;
}
}