Skip to content

fix(welcome): follow color mode changes in subdued texts - #395

Merged
PierreRaybaut merged 1 commit into
developfrom
fix/subdued-colors-theme-switch
Oct 9, 2026
Merged

PierreRaybaut merged 1 commit into
developfrom
fix/subdued-colors-theme-switch

Conversation

@PierreRaybaut

Copy link
Copy Markdown
Contributor

After switching the color mode in the settings, the secondary texts of the welcome page and of the Applications catalog (descriptions, section titles, slogan) kept the colors of the former mode: black on a dark background after a light to dark switch, white on a light background after a dark to light switch. The rendering was correct only after a restart.

Subdued colors are explicitly set on widgets, so they did not follow the application palette. They are now derived from the current text color (half opacity, as Qt placeholder texts) and refreshed after each color mode change.

A regression test switches light, dark, then light through the settings code path and checks the contrast of subdued texts with the background.

@PierreRaybaut
PierreRaybaut merged commit a1c54bd into develop Oct 9, 2026
6 checks passed
@PierreRaybaut
PierreRaybaut deleted the fix/subdued-colors-theme-switch branch October 9, 2026 09:06
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