|
|
@@ -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}
|