Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Synchronize error colors

Tomas Valentaa302d73be670
diff --git a/components/AuthForm.tsx b/components/AuthForm.tsx
index 8984cd1b2..36ecff555 100644
--- a/components/AuthForm.tsx
+++ b/components/AuthForm.tsx
@@ -207,7 +207,7 @@ function AuthForm({ authType }: Props) {
/>
{!isLoading && !!errMessage && (
<Text
- className="self-center text-red-500"
+ className="self-center text-red-600"
size={Text.size.S3}
text={errMessage}
/>
diff --git a/components/Editor/Sidebar/Agent/index.tsx b/components/Editor/Sidebar/Agent/index.tsx
index bef54ed2a..c365ced51 100644
--- a/components/Editor/Sidebar/Agent/index.tsx
+++ b/components/Editor/Sidebar/Agent/index.tsx
@@ -121,7 +121,7 @@ function Agent({
<Text
text={`Missing key "${missingCreds[0][1].label || missingCreds[0][0]}"`}
size={Text.size.S3}
- className="text-red-400"
+ className="text-red-600"
/>
<Button
text="Set keys"
diff --git a/components/Editor/Sidebar/Model.tsx b/components/Editor/Sidebar/Model.tsx
index ef02ec998..46c54fa02 100644
--- a/components/Editor/Sidebar/Model.tsx
+++ b/components/Editor/Sidebar/Model.tsx
@@ -80,7 +80,7 @@ function Context({ }: Props) {
<Text
text={getMissingCreds(provider as ModelProvider, creds).length === 0 ? '' : 'Missing keys'}
className="
- text-red-400
+ text-red-600
"
size={Text.size.S3}
/>
diff --git a/pages/new.tsx b/pages/new.tsx
index 7c797c499..d9e727ee5 100644
--- a/pages/new.tsx
+++ b/pages/new.tsx
@@ -166,7 +166,7 @@ function NewProject() {
<Text
className="
self-center
- text-red-500
+ text-red-600
font-medium
"
size={Text.size.S2}