Skip to content

Conversation

@jpk6789
Copy link

@jpk6789 jpk6789 commented Oct 26, 2025

The current color controls keep their state even if they are disabled. However, this can be confusing for users because there is no visual feedback that the controls are disabled. This PR changes this behavior by using the luminance of a color as the gray value.

Enabled Controls

grafik

Disabled Controls

grafik

Breaking Changes

This PR changes the visual behavior of the color controls so if developers used the disabled state to just display the color, this PR will break this. However, I would argue that the color controls are primarily to control the color values and not just to display them. If such a display option is needed, an additional "KeepColorWhileDisabled" DP could be added to the controls.

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.

1 participant