Skip to content

Dark theme change status icons #1423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

NathanBaulch
Copy link
Contributor

Just a minor one, but I feel that the change status icons are a bit too bright when in dark mode.
This PR refactors the brushes in ChangeStatusIcon and dynamically darkens or lightens the gradient color depending on what theme is set. It also listens for theme changes so it can re-render if the user switches.

It's pretty subtle right now but a good starting point for theme-aware icon colors.

sourcegit_dark_status

@love-linger love-linger self-assigned this Jun 16, 2025
@love-linger love-linger added the enhancement New feature or request label Jun 16, 2025
@love-linger love-linger merged commit e28b537 into sourcegit-scm:develop Jun 16, 2025
13 checks passed
@NathanBaulch NathanBaulch deleted the dark-change-status branch June 16, 2025 04:20
love-linger added a commit that referenced this pull request Jun 16, 2025
Since we have already used `OnPropertyChanged`, move `ActualThemeVariantProperty` changed handler into it

Signed-off-by: leo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants