-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gtk3 Theme: Fix disabled colors for texts
Previously, disabled text colors were a darker version of the normal text color. However, when the text color is black, the darker version is also black, making the disabled text indistinguishable from the enabled text. To fix this issue, a source struct called `MixSources` has been implemented. This struct contains the mixing sources. For disabled texts, a mix of the background and text color sources creates a more sensible appearance, making the disabled text look more like the control's background color. This solution does not require access to the system's color scheme, as the disabled color depends only on the background and foreground colors. Fixes: QTBUG-123449 Pick-to: 6.8 6.7 6.5 Change-Id: I469e4fc05ddd4851120b89646bd7ab17a3ee2c00 Reviewed-by: Volker Hilsheimer <[email protected]> Reviewed-by: Axel Spoerl <[email protected]>
- Loading branch information
MohammadHossein Qanbari
committed
Jul 1, 2024
1 parent
bcfa010
commit 21a0700
Showing
3 changed files
with
105 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters