Skip to content

fix(text): Sync text color with theme highlight color in pressed state#814

Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom
dengzhongyuan365-dev:master
Apr 10, 2026
Merged

fix(text): Sync text color with theme highlight color in pressed state#814
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom
dengzhongyuan365-dev:master

Conversation

@dengzhongyuan365-dev
Copy link
Copy Markdown
Contributor

When ToolButton is in pressed (isSunken) state, the icon already changes to the theme highlight color, but the text remains unchanged. This causes inconsistent visual feedback between the icon and text.

Now both icon and text use palette().highlight().color() in pressed state, providing a unified user experience across all theme modes.

bug: https://pms.uniontech.com/bug-view-356023.html

When ToolButton is in pressed (isSunken) state, the icon already changes
to the theme highlight color, but the text remains unchanged. This causes
inconsistent visual feedback between the icon and text.

Now both icon and text use palette().highlight().color() in pressed state,
providing a unified user experience across all theme modes.

bug: https://pms.uniontech.com/bug-view-356023.html
@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dengzhongyuan365-dev, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dengzhongyuan365-dev
Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot deepin-bot bot merged commit b7c8c5f into linuxdeepin:master Apr 10, 2026
7 checks passed
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