Explorar o código

style: update current todo style (#6077)

David Hill hai 2 meses
pai
achega
d6c81d6e14
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      packages/opencode/src/cli/cmd/tui/component/todo-item.tsx

+ 3 - 3
packages/opencode/src/cli/cmd/tui/component/todo-item.tsx

@@ -13,16 +13,16 @@ export function TodoItem(props: TodoItemProps) {
       <text
         flexShrink={0}
         style={{
-          fg: props.status === "in_progress" ? theme.success : theme.textMuted,
+          fg: props.status === "in_progress" ? theme.warning : theme.textMuted,
         }}
       >
-        [{props.status === "completed" ? "✓" : " "}]{" "}
+        [{props.status === "completed" ? "✓" : props.status === "in_progress" ? "•" : " "}]{" "}
       </text>
       <text
         flexGrow={1}
         wrapMode="word"
         style={{
-          fg: props.status === "in_progress" ? theme.success : theme.textMuted,
+          fg: props.status === "in_progress" ? theme.warning : theme.textMuted,
         }}
       >
         {props.content}