jnsh / arc-theme

A flat theme with transparent elements (actively maintained fork)
GNU General Public License v3.0
906 stars 78 forks source link

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

Open PMunch opened 1 year ago

PMunch commented 1 year ago

Details

Please add the following information:

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.