witalihirsch / Mono-gtk-theme

Mono Theme for Gnome
GNU General Public License v3.0
360 stars 21 forks source link

Nautilus on GNOME 45 looks broken #51

Open DannyFatty707 opened 1 year ago

DannyFatty707 commented 1 year ago

Screenshot from 2023-10-10 14-07-59 After upgrading to GNOME 45, Nautilus seems broken with the background's transparency. All other GTK4 apps work fine. image For example, Easy Effects (which is on GTK4) works fine with no issues.

kschat commented 1 year ago

I was able to workaround this by adding the following CSS to ~/.config/gtk-4.0/gtk.css:

/* Temp workaround */
.nautilus-window .content-pane {
    background-color: rgb(245, 245, 245);
}

This will at least make Nautilus usable until a proper patch is applied.

DannyFatty707 commented 1 year ago

I was able to workaround this by adding the following CSS to ~/.config/gtk-4.0/gtk.css:

/* Temp workaround */
.nautilus-window .content-pane {
    background-color: rgb(245, 245, 245);
}

This will at least make Nautilus usable until a proper patch is applied.

image It works, but it's just for the light mode. I'm on dark. Can you make one for dark mode?

Update: I've now modified kschat's workaround for Mono's Dark mode:

/ Temp workaround / .nautilus-window .content-pane { background-color: rgb(42, 42, 42); }

You need to replace 245 with 42 for dark mode, or use 245 if you're on light mode.

image

As you can see here, it looks better now.

4JX commented 1 year ago

In my case the sidebar was also transparent, so I needed an extra selector

.nautilus-window .content-pane,
.nautilus-window .sidebar-pane {
    background-color: rgb(42, 42, 42);
}

Though I'm pretty sure #252525 is the de-facto dark background color and #f0f0f0 the light mode one