Closed TheMorc closed 1 year ago
i made the (perhaps stupid) decision to basically try and trample over whatever the system theme is to get everything to look nice cuz im a filthy windows user and didnt really know what i was doing. so that being said i guess the real issue here would be trying to respect the system theme. afaik on linux thats how dark vs light mode would be implemented too (e.g. you have Adwaita and Adwaita:dark as a variant). and iirc if the system theme switches then GTK applications automatically are able to pick that up.
I've written css for abaddon to make it not break with my gtk3 theme, and also to put it in a 'dark mode.'
For what it's worth. You can enable the gtk3 inspector (or read the source code) and write your own CSS to theme it. I've done that to make it play relatively nicely under my esoteric GTK3 theme/environment, and also to make it show in 'dark mode.'
You can make a file called main.css
(IIRC) and put it in ~/.config/abaddon/css/
(make the directory structure if needed. Technically, it's actually under $XDG_CONFIG_DIR/abaddon/css/
if $XDG_CONFIG_DIR
is set.).
Here's mine, if you think it'll be useful. It's not perfect, but it's good enough in my environment that I've not felt like messing with it more. It's huge, so I have it collapsed in the 'details' field below.
What's the status of system theme support?
well, i think "automatic light/dark mode switching" is probably a system thing and not a me thing so ill close this. but as for respecting the system theme in general, maybe you/someone can open an issue about that. i expect itll take some back and forth to figure it out since i dont use gnome/any environment where gtk themes really exist
I didn't take a look at gtk3 properly as if it supports automatic light/dark mode switching on macOS (or maybe also Linux) Introducing it would bring a small issue where the css is currently only for one theme style and isn't duplicated to have a light mode or doesn't dynamically change somehow.
same could be applied for windows theme switching and it could probably fix the white titlebar too?