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

[Help Wanted]: GTK candidate highlight color can't be overwritten #2

Open
HollowMan6 opened this issue Aug 13, 2021 · 0 comments
Open
Labels
Hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed

Comments

@HollowMan6
Copy link
Member

It looks like the GTK candidate highlight color can't be set in current version (v4.1.0), and I can't find a way to solve this issue.

It seems to be related to ibus/ibus@bdc83bc , and the color can't be overwritten once the imported stylesheet has that color definitions. Maybe it's because that commit gets the color directly from the global GTK style properties, having no idea how to make a workaround except for changing the upstream.

I've tried adding the following seperately in the hope to change the GTK candidate highlight color in the tools' generated GTK stylesheets so far, and none of them successfully changed the candidate highlight color, but just follow the imported (base) GTK definitions.

#IBusCandidate * {
  background-color: #000000;
  -gtk-secondary-caret-color: #000000;
}
* {
  background-color: #000000;
  -gtk-secondary-caret-color: #000000;
}

If you know what's going on here, please tell me or simply submit a PR, thanks!

@HollowMan6 HollowMan6 added the help wanted Extra attention is needed label Aug 13, 2021
@HollowMan6 HollowMan6 added the Hacktoberfest https://hacktoberfest.digitalocean.com/ label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant