opencode-agent[bot] 1 hónapja
szülő
commit
6b41ae910c

+ 1 - 3
packages/ui/src/components/icon.tsx

@@ -111,9 +111,7 @@ const symbol = (name: keyof typeof icons) => `opencode-icon-${name}`
 let spriteInserted = false
 
 function viewBox(name: keyof typeof icons) {
-  return name === "magnifying-glass" || name === "arrow-undo-down" || name === "subagent"
-    ? "0 0 16 16"
-    : "0 0 20 20"
+  return name === "magnifying-glass" || name === "arrow-undo-down" || name === "subagent" ? "0 0 16 16" : "0 0 20 20"
 }
 
 function ensureSprite() {

+ 8 - 8
packages/ui/src/styles/theme.css

@@ -282,13 +282,13 @@
   --icon-agent-ask-base: #2090f5;
   --icon-agent-build-base: #034cff;
   --v2-agent-plan-solid: var(--v2-pink-800);
-  --v2-agent-plan-border: rgba(200, 61, 139, 0.20);
-  --v2-agent-plan-background: rgba(253, 236, 243, 0.10);
+  --v2-agent-plan-border: rgba(200, 61, 139, 0.2);
+  --v2-agent-plan-background: rgba(253, 236, 243, 0.1);
   --v2-agent-build-solid: var(--v2-blue-800);
-  --v2-agent-build-border: rgba(44, 71, 200, 0.10);
-  --v2-agent-build-background: rgba(236, 241, 254, 0.10);
+  --v2-agent-build-border: rgba(44, 71, 200, 0.1);
+  --v2-agent-build-background: rgba(236, 241, 254, 0.1);
   --v2-agent-explore-solid: var(--v2-yellow-900);
-  --v2-agent-explore-border: rgba(203, 159, 52, 0.20);
+  --v2-agent-explore-border: rgba(203, 159, 52, 0.2);
   --v2-agent-explore-background: rgba(254, 250, 236, 0.1);
   --v2-agent-review-solid: var(--v2-green-800);
   --v2-agent-writer-solid: var(--v2-purple-700);
@@ -553,13 +553,13 @@
     --icon-agent-ask-base: #2090f5;
     --icon-agent-build-base: #9dbefe;
     --v2-agent-plan-solid: var(--v2-pink-400);
-    --v2-agent-plan-border: rgba(247, 153, 198, 0.20);
+    --v2-agent-plan-border: rgba(247, 153, 198, 0.2);
     --v2-agent-plan-background: rgba(170, 53, 118, 0.05);
     --v2-agent-build-solid: var(--v2-blue-300);
-    --v2-agent-build-border: rgba(162, 188, 255, 0.20);
+    --v2-agent-build-border: rgba(162, 188, 255, 0.2);
     --v2-agent-build-background: rgba(38, 63, 169, 0.05);
     --v2-agent-explore-solid: var(--v2-yellow-300);
-    --v2-agent-explore-border: rgba(243, 218, 155, 0.20);
+    --v2-agent-explore-border: rgba(243, 218, 155, 0.2);
     --v2-agent-explore-background: rgba(172, 136, 51, 0.05);
     --v2-agent-review-solid: var(--v2-green-300);
     --v2-agent-writer-solid: var(--v2-purple-400);

+ 13 - 13
packages/ui/src/v2/styles/theme.css

@@ -78,13 +78,13 @@
     --v2-state-border-info: var(--v2-blue-300);
 
     --v2-agent-plan-solid: var(--v2-pink-800);
-    --v2-agent-plan-border: rgba(200, 61, 139, 0.20);
-    --v2-agent-plan-background: rgba(253, 236, 243, 0.10);
+    --v2-agent-plan-border: rgba(200, 61, 139, 0.2);
+    --v2-agent-plan-background: rgba(253, 236, 243, 0.1);
     --v2-agent-build-solid: var(--v2-blue-800);
-    --v2-agent-build-border: rgba(44, 71, 200, 0.10);
-    --v2-agent-build-background: rgba(236, 241, 254, 0.10);
+    --v2-agent-build-border: rgba(44, 71, 200, 0.1);
+    --v2-agent-build-background: rgba(236, 241, 254, 0.1);
     --v2-agent-explore-solid: var(--v2-yellow-900);
-    --v2-agent-explore-border: rgba(203, 159, 52, 0.20);
+    --v2-agent-explore-border: rgba(203, 159, 52, 0.2);
     --v2-agent-explore-background: rgba(254, 250, 236, 0.1);
     --v2-agent-review-solid: var(--v2-green-800);
     --v2-agent-writer-solid: var(--v2-purple-700);
@@ -319,13 +319,13 @@
     --v2-state-border-info: var(--v2-blue-300);
 
     --v2-agent-plan-solid: var(--v2-pink-800);
-    --v2-agent-plan-border: rgba(200, 61, 139, 0.20);
-    --v2-agent-plan-background: rgba(253, 236, 243, 0.10);
+    --v2-agent-plan-border: rgba(200, 61, 139, 0.2);
+    --v2-agent-plan-background: rgba(253, 236, 243, 0.1);
     --v2-agent-build-solid: var(--v2-blue-800);
-    --v2-agent-build-border: rgba(44, 71, 200, 0.10);
-    --v2-agent-build-background: rgba(236, 241, 254, 0.10);
+    --v2-agent-build-border: rgba(44, 71, 200, 0.1);
+    --v2-agent-build-background: rgba(236, 241, 254, 0.1);
     --v2-agent-explore-solid: var(--v2-yellow-900);
-    --v2-agent-explore-border: rgba(203, 159, 52, 0.20);
+    --v2-agent-explore-border: rgba(203, 159, 52, 0.2);
     --v2-agent-explore-background: rgba(254, 250, 236, 0.1);
     --v2-agent-review-solid: var(--v2-green-800);
     --v2-agent-writer-solid: var(--v2-purple-700);
@@ -441,13 +441,13 @@
     --v2-state-border-info: var(--v2-blue-900);
 
     --v2-agent-plan-solid: var(--v2-pink-400);
-    --v2-agent-plan-border: rgba(247, 153, 198, 0.20);
+    --v2-agent-plan-border: rgba(247, 153, 198, 0.2);
     --v2-agent-plan-background: rgba(170, 53, 118, 0.05);
     --v2-agent-build-solid: var(--v2-blue-300);
-    --v2-agent-build-border: rgba(162, 188, 255, 0.20);
+    --v2-agent-build-border: rgba(162, 188, 255, 0.2);
     --v2-agent-build-background: rgba(38, 63, 169, 0.05);
     --v2-agent-explore-solid: var(--v2-yellow-300);
-    --v2-agent-explore-border: rgba(243, 218, 155, 0.20);
+    --v2-agent-explore-border: rgba(243, 218, 155, 0.2);
     --v2-agent-explore-background: rgba(172, 136, 51, 0.05);
     --v2-agent-review-solid: var(--v2-green-300);
     --v2-agent-writer-solid: var(--v2-purple-400);