Skip to content

Use user accent for selection background#1722

Merged
jeremypw merged 1 commit into
masterfrom
jeremypw/styleschemes/selected
May 24, 2026
Merged

Use user accent for selection background#1722
jeremypw merged 1 commit into
masterfrom
jeremypw/styleschemes/selected

Conversation

@jeremypw
Copy link
Copy Markdown
Collaborator

@jeremypw jeremypw commented May 24, 2026

Fixes #1289

The provided user accent colors contrast better with text and hightlight styles than the present hard-coded colors. Also the user has control over them and it improves consistency with selections elsewhere in the app and other apps.

Gtk already uses the accent color for selections by default so we just stop overriding it.

Copy link
Copy Markdown
Contributor

@zeebok zeebok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. I see 2 of the tests failed, kind of surprised by that.

@jeremypw
Copy link
Copy Markdown
Collaborator Author

@zeebok Yes - its something to do with building the flatpak in CI though - pretty sure not caused by this PR anyway. I'll have a look into flatpak building locally but as it is not shipped as flatpak atm it is not critical.

@jeremypw jeremypw merged commit c0b1736 into master May 24, 2026
4 of 6 checks passed
@jeremypw jeremypw deleted the jeremypw/styleschemes/selected branch May 24, 2026 16:57
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.

Selected text and Current match styling hard to see with solarized and dark stylesheets

2 participants