diff --git a/packages/keychain/src/components/connect/CreateSession.tsx b/packages/keychain/src/components/connect/CreateSession.tsx
index cd826eeba..857237330 100644
--- a/packages/keychain/src/components/connect/CreateSession.tsx
+++ b/packages/keychain/src/components/connect/CreateSession.tsx
@@ -56,9 +56,11 @@ export function CreateSession({
if (violatingPolicy) {
setError({
code: ErrorCode.PolicyChainIdMismatch,
- message: `Policy for ${(violatingPolicy as TypedDataPolicy).domain.name
- }.${(violatingPolicy as TypedDataPolicy).primaryType
- } has mismatched chain ID.`,
+ message: `Policy for ${
+ (violatingPolicy as TypedDataPolicy).domain.name
+ }.${
+ (violatingPolicy as TypedDataPolicy).primaryType
+ } has mismatched chain ID.`,
});
setIsDisabled(true);
} else {
@@ -136,6 +138,7 @@ export function CreateSession({
)}
+
{error && isControllerError(error) && (
)}
@@ -158,13 +161,11 @@ export function CreateSession({
{!error && (
-
-
Expires in
+
+
Expires in
diff --git a/packages/ui-next/src/components/primitives/select.tsx b/packages/ui-next/src/components/primitives/select.tsx
index 998074c2e..78afa9c76 100644
--- a/packages/ui-next/src/components/primitives/select.tsx
+++ b/packages/ui-next/src/components/primitives/select.tsx
@@ -2,7 +2,7 @@
import * as React from "react";
import {
- CheckIcon,
+ CheckCircledIcon,
ChevronDownIcon,
ChevronUpIcon,
} from "@radix-ui/react-icons";
@@ -24,7 +24,7 @@ const SelectTrigger = React.forwardRef<
span]:line-clamp-1",
+ "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md bg-secondary px-3 py-2 text-xs font-bold placeholder:text-muted-foreground focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
className,
)}
{...props}
@@ -80,7 +80,7 @@ const SelectContent = React.forwardRef<
-
+
{children}
diff --git a/packages/ui-next/src/themes/dark.css b/packages/ui-next/src/themes/dark.css
index d064a347b..062af177e 100644
--- a/packages/ui-next/src/themes/dark.css
+++ b/packages/ui-next/src/themes/dark.css
@@ -3,13 +3,13 @@
--background: 135 8% 9%; /* bg.background */
--foreground: 0 0% 100%; /* text.primary */
- --popover: 135 8% 9%; /* bg.background */
+ --popover: 135 6% 13%; /* bg.primary */
--popover-foreground: 0 0% 100%; /* text.primary */
--primary: 44 96% 61%; /* brand.primary */
--primary-foreground: 135 15% 10%; /* bg.primary */
- --secondary: 135 12% 13%; /* bg.primary */
+ --secondary: 135 6% 13%; /* bg.primary */
--secondary-foreground: 0 0% 100%; /* text.primary */
--tertiary: 120 57% 78%;
@@ -30,7 +30,7 @@
--destructive: 7 72% 65%; /* text.error */
--destructive-foreground: 7 72% 65%; /* text.error */
- --border: 0 0% 50%;
+ --border: 135 8% 9%; /* bg.background */
--input: 120 7.5% 15.69%; /* bg.secondary */
--ring: 0 0% 100%; /* text.primary */
diff --git a/packages/ui-next/src/themes/default.css b/packages/ui-next/src/themes/default.css
index 88a4878d2..f8749fc70 100644
--- a/packages/ui-next/src/themes/default.css
+++ b/packages/ui-next/src/themes/default.css
@@ -30,7 +30,7 @@
--destructive: 7 72% 65%;
--destructive-foreground: 7 72% 65%;
- --border: 0 0% 50%;
+ --border: 220 60% 99%;
--input: 210 2.48% 94.9%; /* bg.secondary */
--ring: 0 0% 0%;