Skip to content

armgit / E2B

Public Imported from GitHub
0

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

styling

Vasek Mlejnskyfc1dc9f17355
diff --git a/components/AgentDeploymentLogList.tsx b/components/AgentDeploymentLogList.tsx
index 132228b67..4e9ee49fe 100644
--- a/components/AgentDeploymentLogList.tsx
+++ b/components/AgentDeploymentLogList.tsx
@@ -112,7 +112,7 @@ function AgentDeploymentLogList({
</div>
{openDeployments[deployment.id] && (
- <div className="flex flex-col space-y-3 border-l border-gray-800 pl-2 ml-[11px] flex-1">
+ <div className="flex flex-col space-y-3 border-l border-white/5 pl-2 ml-[11px] flex-1">
<UploadTree
log={deployment}
/>
diff --git a/components/AgentLogFilesList.tsx b/components/AgentLogFilesList.tsx
index 46d8592d6..11a7b18e3 100644
--- a/components/AgentLogFilesList.tsx
+++ b/components/AgentLogFilesList.tsx
@@ -219,14 +219,14 @@ function AgentLogFilesList({
<div className="flex items-center space-x-2">
<button
className={clsx(
- 'h-6 w-6 flex items-center justify-center px-1 cursor-pointer hover:bg-gray-700 transition-all rounded-md',
- openLogUploads[logUpload.id] && 'bg-gray-700',
- !openLogUploads[logUpload.id] && 'bg-gray-800',
+ 'h-6 w-6 flex items-center justify-center px-1 cursor-pointer hover:bg-[#6366F1] transition-all rounded-md',
+ openLogUploads[logUpload.id] && 'bg-[#6366F1] text-gray-200',
+ !openLogUploads[logUpload.id] && 'bg-[#1F2437] text-gray-200',
)}
onClick={() => toggleLogUpload(logUpload.id)}
>
<ChevronRight size={14} className={clsx(
- 'text-gray-400',
+ // 'text-gray-400',
'transition-all',
'select-none',
openLogUploads[logUpload.id] && 'rotate-90',
@@ -235,19 +235,19 @@ function AgentLogFilesList({
<button
className={clsx(
- 'h-6 w-20 flex items-center justify-center space-x-1 px-1 bg-gray-800 transition-all rounded-md text-gray-400 text-xs',
- renamingLogUploadID === logUpload.id && 'hover:bg-gray-800 cursor-not-allowed',
- renamingLogUploadID !== logUpload.id && 'cursor-pointer hover:bg-gray-700',
+ 'h-6 w-20 flex items-center justify-center space-x-1 px-1 bg-[#1F2437] transition-all rounded-md text-gray-200 text-xs',
+ renamingLogUploadID === logUpload.id && 'hover:bg-[#1F2437] cursor-not-allowed',
+ renamingLogUploadID !== logUpload.id && 'cursor-pointer hover:bg-[#272D44]',
)}
onClick={() => handleRenameLogUpload(logUpload.id)}
>
{renamingLogUploadID === logUpload.id ? (
<Spinner
- className="text-gray-400 transition-all select-none"
+ className="text-gray-200 transition-all select-none"
/>
) : (
<Edit
- className="text-gray-400 transition-all select-none"
+ className="text-gray-200 transition-all select-none"
size={14}
/>
)}
@@ -272,7 +272,7 @@ function AgentLogFilesList({
</div>
{openLogUploads[logUpload.id] && (
- <div className="flex flex-col space-y-3 border-l border-gray-800 pl-2 ml-[11px] flex-1">
+ <div className="flex flex-col space-y-3 border-l border-white/5 pl-2 ml-[11px] flex-1">
<UploadTree
log={logUpload}
selectedLogFile={logUpload.id === selectedLogFile?.log_upload_id ? selectedLogFile : undefined}
diff --git a/components/Feedback/FeedbackModal.tsx b/components/Feedback/FeedbackModal.tsx
index bb51ef855..1dd39d8ee 100644
--- a/components/Feedback/FeedbackModal.tsx
+++ b/components/Feedback/FeedbackModal.tsx
@@ -53,8 +53,8 @@ function FeedbackModal({ isOpen, onClose, onSend }: Props) {
mt-1
border
z-50
- bg-gray-900
- border-gray-800
+ bg-transparent
+ border-white/5
w-[400px]
shadow-lg
rounded
diff --git a/components/Filesystem/Dir.tsx b/components/Filesystem/Dir.tsx
index b814c0ecb..1665336d6 100644
--- a/components/Filesystem/Dir.tsx
+++ b/components/Filesystem/Dir.tsx
@@ -90,7 +90,7 @@ function Dir({
ml-[11px]
pl-3
border-l
- border-gray-800
+ border-white/5
"
>
{children}