mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 03:16:35 +00:00
style: update current todo style (#6077)
This commit is contained in:
parent
e8ac0b663b
commit
d6c81d6e14
1 changed files with 3 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue