The Wiki covers this, I'm pretty sure it is in the FAQ. There are a fair amount of UI hooks covered there and the supplied sample file can illuminate a bit more detail and usage.

I'd highly recommend on reading up on the topic of running GnuCash with the GTK Inspector. If I recall, this is not possible with the Windows native .exe, but does work with Mac & Linux. (I've used it for both platforms.) Doing so will allow you to test declarations in real time. GTK+ CSS doesn't necessarily work quite like Web CSS, though there are similarities. Also, not all UI elements can be addressed via CSS, so there are limitations. (this is primarily due to some of them not being properly 'exposed' to CSS via named classes, IDs, et cetera, so if you find an element like this you could optionally file an RFE, or a PR to expose it for styling.)

-----
For anyone on Windows, you might get lucky doing CSS playground stuff in a Linux VM or via WSL (Windows Subsystem for Linux) and then trying the same declarations on Windows, but mileage may of course vary. (though if you can run a VM or WSL, I'd just stick with that for a daily driver)

Regards,
Adrien

p.s. —my UI is Blue & Grey, not Green & Yellow, courtesy of my CSS customizations on MacOS.

On 4/6/26 6:48 PM, Ed Greenberg wrote:
I'm running gnucash on Ubunut from a flatpak.

I'd like to find the CSS that controls the colors of the ledger pages. The green bars.

Alternatively, the color of the toolbar or something else that stands out.

I have several gnucash files, and I want to know with certainty which one I'm looking at.

Any ideas?

_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to