witalihirsch / Mono-gtk-theme

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

Several GTK apps log errors while using the theme #47

Open 4JX opened 1 year ago

4JX commented 1 year ago

I have manually symlinked the gtk-4.0 contents to the .config/gtk-4.0 folder and now a lot of apps spit out the same set of error logs when starting up:

Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:8533:30-41: "error_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:8530:32-45: "warning_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:8527:32-45: "success_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:8524:36-53: "destructive_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:8521:31-43: "accent_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:8504:32-33: Expected a valid color.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:7718:7-9: Unknown pseudoclass
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:4214:28-29: Expected shadow value to contain a length
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:3273:19-23: "none" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:2791:19-23: "none" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:1917:28-29: Expected shadow value to contain a length
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:735:18-19: Expected a number
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:546:18-19: Expected a number
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:222:28-29: Expected shadow value to contain a length
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:116:33-34: Expected a valid color.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk-dark.css:107:33-34: Expected a valid color.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:8528:30-41: "error_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:8525:32-45: "warning_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:8522:32-45: "success_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:8519:36-53: "destructive_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:8516:31-43: "accent_color" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:7712:7-9: Unknown pseudoclass
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:4215:28-29: Expected shadow value to contain a length
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:3274:19-23: "none" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:2789:19-23: "none" is not a valid color name.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:1915:28-29: Expected shadow value to contain a length
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:735:18-19: Expected a number
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:546:18-19: Expected a number
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:222:28-29: Expected shadow value to contain a length
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:116:33-34: Expected a valid color.
Jun 16 18:54:31 nixos .nautilus-wrapp[8313]: Theme parser error: gtk.css:107:33-34: Expected a valid color.

The contents of the folder are as follows (kind of weird setup due to using NixOS, but that shouldn't affect much) image

Most apps continue to work seemingly fine despite this, but GTK4-DING does slightly break (not able to set a background) which is annoying.

KaranAhlawat commented 9 months ago

Hey, this is still an issue. Any ideas how to fix this?