Odd as it may seems, I'm probably not the best person to ask. I've been making themes since 2006 and I just seem to know how to do this stuff. I have, I'm told, a different approach to things than most, but I'm only reading the same info out there as everyone else.
The other thing is that I deliberately forget all this stuff as soon as a theme, or update to it, is done. It has to be that way, when I'm working I have the entire theme code in my head, like The Matrix, and my hands move by themselves, like playing the piano and I'm restarting up to 30 times an hour to see the changes and few days later a theme appears. Then, to preserve sanity, it is all forgotten.
So, because I wrote my Linux OS theme back in November 2015 and hasn't blown up since, then atm the man in the moon would know more about individual selectors than I do. A few hours in, back in the seat, and it would all be different. I've always worked like that.
Btw - SMPlayer (works well with my TV capture card) - lying toads those guys are '
Download SMPlayer Themes' they say. Those ain't themes, those are toolbar button sets! So I made a proper theme for it - Tip #1. in theming - don't believe anyone who tells you something can't be done.
I haven't been able to get anything to even look like it's working without copying stuff from someone else's theme
That's OK, just make sure you fully understand the code you are copying.
barbaz wrote:Thanks, from there I found GTK's own documentation about GTK3 CSS. But none of those links cover what I'm looking for - that is, how to build a correctly-coded theme from scratch.
There's your mistake, no one builds this stuff from scratch. True for Linux and true for other stuff.
For example, there are 500 odd Firefox themes kicking around and
all of them originally derived from the original 2002 theme by Joe Hewitt. (the only exception was back in 2014 when I wrote a completely 'from scratch' theme using a new method to theme Firefox, just because I could see that the conventional method could not be maintained easily, or at all, under Firefox's Rapid Release policy ....don't forget, I had been writing themes for 8 years by then)
No, take a good working Open Source theme that is as close to your planned theme as possible and adapt it, recoding whole sections if required.
GTK3 is pretty easy as it really is just same old, same old .css. GTK2 is fairly bizarre and complex though.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.