Skip to content

[6218] 更新 Chat 标签页附件按钮图标 - #4730

Merged
PinkMagicFly merged 1 commit into
mainfrom
pigmagicfly/6218/update-attachment-icon
Oct 16, 2026
Merged

PinkMagicFly merged 1 commit into
mainfrom
pigmagicfly/6218/update-attachment-icon

Conversation

@PinkMagicFly

Copy link
Copy Markdown
Contributor

概述

更新 Chat 标签页输入区工具栏中的附件按钮(chat-tab-attach-btn)图标:
将原垂直直立造型的回形针图标替换为倾角 45 度的回形针矢量图标(32×32 viewBox,线宽 2px),使工具栏按钮(思考、搜索、附件、模型)视觉风格更统一自然。

改动内容

  • TeXmacs/misc/images/llm-chat/attach.svg:更新为 45 度倾角回形针 SVG 图标,浅色主题下线条颜色为 #215a6a;
  • TeXmacs/misc/images/llm-chat/attach-white.svg:更新为相同几何图形,深色主题下线条颜色为 #ffffff。

验证说明

  • C++ 单元测试:xmake b qt_chat_tab_widget_test qt_chat_controller_test 且测试全部通过(136/136 PASS,32/32 PASS);
  • 手动验证:在明暗两种主题下核验附件按钮图标呈现清晰、对比鲜明。

@MoonL79 MoonL79 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@da-liii da-liii left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PinkMagicFly
PinkMagicFly merged commit 164ae8d into main Oct 16, 2026
@PinkMagicFly
PinkMagicFly deleted the pigmagicfly/6218/update-attachment-icon branch October 16, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants