diff --git a/.changeset/web-caret-todo-fixes.md b/.changeset/web-caret-todo-fixes.md new file mode 100644 index 000000000..c04c39706 --- /dev/null +++ b/.changeset/web-caret-todo-fixes.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +web: Fix an almost-invisible composer input caret and a washed-out strikethrough on completed todos. diff --git a/apps/kimi-web/src/components/chat/Composer.vue b/apps/kimi-web/src/components/chat/Composer.vue index cae2b4feb..2eecea4f4 100644 --- a/apps/kimi-web/src/components/chat/Composer.vue +++ b/apps/kimi-web/src/components/chat/Composer.vue @@ -1289,6 +1289,10 @@ function selectModel(modelId: string): void { .ph { color: var(--faint); + /* Keep the caret at the normal text colour even when the field is empty: + the empty state sets `color` to `--faint` (so the placeholder feels soft), + and an unset caret inherits that faint colour and nearly disappears. */ + caret-color: var(--color-text); flex: 1; border: none; outline: none; diff --git a/apps/kimi-web/src/components/chat/TodoCard.vue b/apps/kimi-web/src/components/chat/TodoCard.vue index 863846a54..48190f0c0 100644 --- a/apps/kimi-web/src/components/chat/TodoCard.vue +++ b/apps/kimi-web/src/components/chat/TodoCard.vue @@ -57,7 +57,6 @@ function glyphStatus(status: TodoView['status']): StatusGlyphStatus { .tc-row.s-done .tc-name { color: var(--color-text-faint); text-decoration: line-through; - text-decoration-color: var(--color-line-strong); } .tc-empty {