Skip to content
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

Change the color of the titlebar and borders if their color is set to the accent color and the accent color changes and some other improvements #28

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

Valer100
Copy link
Contributor

@Valer100 Valer100 commented Oct 8, 2024

This PR makes the titlebars and window borders that are set to the accent color to change their color if the accent color changes.

Screen.Recording.2024-10-08.mp4

If you're wondering why the buttons of the demo program are following the accent color, I use a 3rd party program called AccentColorizer that colorizes window controls with the accent color.

I also made some improvements:

  • Raise an exception if someone tries to set the titlebar or border color if the rainbow effect is active in a specific window
  • Raise an exception if someone tries to apply the rainbow effect to the titlebar or border if it's already active in a specific window
  • Raise an exception if someone tries to set the titlebar or the border color of a specific window to the accent color if it's already set to it

@Zingzy
Copy link
Owner

Zingzy commented Oct 8, 2024

Will take a look, thanks for the contribution 😀

@Valer100
Copy link
Contributor Author

Valer100 commented Oct 8, 2024

You're welcome!

@Zingzy Zingzy added the enhancement New feature or request label Oct 8, 2024
@Zingzy Zingzy merged commit b7a6d70 into Zingzy:main Oct 8, 2024
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