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

GtkSourceView gutter rendered in white when using Arc-Dark #210

Open
PMunch opened this issue Mar 30, 2023 · 3 comments
Open

GtkSourceView gutter rendered in white when using Arc-Dark #210

PMunch opened this issue Mar 30, 2023 · 3 comments

Comments

@PMunch
Copy link

PMunch commented Mar 30, 2023

Details

Please add the following information:

  • Arch, arc-gtk-theme package version 20221218-1
  • Anything which uses GtkSourceView is affected, but could try Gedit 44.2-1
  • Installed through pacman, package arc-gtk-theme
  • Version 20221218-1

Unless this is a non-visual issue, always add screenshots to help describe your problem.
2023-03-30T13:52:29
2023-03-30T13:53:33

@jnsh
Copy link
Owner

jnsh commented Mar 30, 2023

I have noticed myself earlier, and couldn't find any way to change this within the GTK theme (i.e. there's no CSS selectors you could use to style the textview elements). The problem is present also with Adwaita-dark, so this doesn't seem to be Arc specific thing.

However, GtkSourceView has its own XML-based style system you can/should use. In gedit, you can select color scheme from Preferences->Font and colors. Unfortunately there's no Arc styles available at least from this repo.. :/

@PMunch
Copy link
Author

PMunch commented Mar 30, 2023

Hmm, I assumed there was some inheritance between these styles and the system theme since the background changed colour. But I guess that's not the case. Maybe Arc could ship such a style which only defined these colours and then parented on the base style? That would require being able to set the default style for a theme though, which I'm not sure is possible.

@jnsh
Copy link
Owner

jnsh commented Mar 30, 2023

That would require being able to set the default style for a theme though, which I'm not sure is possible.

Not possible. It's not even possible to set default GTKSourceView theme anywhere if I'm not mistaken, but it has to always be set per-application.

I will look into adding GtkSourceView style to the theme nevertheless.

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

No branches or pull requests

2 participants