Skip to content

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

@HollowMan6

Description

@HollowMan6

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hacktoberfesthttps://hacktoberfest.digitalocean.com/help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions