[GNC] GnuCash 5.1 not reflecting dark mode of Ubuntu 24.04

Richard Ullger rullger at protonmail.com
Mon Feb 3 16:37:43 EST 2025


On Mon, 03 Feb 2025 18:16:35 +0000
"Indiana via gnucash-user" <gnucash-user at gnucash.org> wrote:

> Thank you David.
> I've spent about 8 hours sifting though posts and have yet to find
> anything that works. I think it is time to cut my losses and research
> how to convert GnuCash back to the previous version with the dark
> mode working. My old eyes can't take the glare.
> 
> Gividen

Hi Gividen,

Here is the css I have in $HOME/.config/gnucash/gtk-3.0.css to force
gnucash to match my system's theme colours. Maybe they'll work for you.

/* Register cursor font setting */
gnc-id-cursor {
  background-color: #505666;
  color: #c4c6c8;
}

gnc-id-cursor entry {
  background-color: #505666;
  color: #c4c6c8;
}

/* Register User Colors */

/* Register row colour */
.gnc-class-user-register-primary {
  background-color: #404552;
}

/* Register alternate row colour */
.gnc-class-user-register-secondary {
  background-color: #383C4A;
}

/* Register select
ed line */
.gnc-class-user-register-cursor {
  background-color: #505666;
  color: #c4c6c8;
}

/* Register selected line splits */
.gnc-class-user-register-split {
  background-color: #505666;
}

/* Register transfer account drop-down list */
treeview.view:hover {
  background-color: #425a70;
}

/* Toolbar font size, 0 to remove text */
toolbar toolbutton label {
  font-size: 0px;
}

/* Negative number color */
.gnc-class-negative-numbers {
  color: orange;
}

/* Dense Calendar Settings (scheduled transaction editor calendar) */

#gnc-id-dense-calendar .primary-dark {
  background-color: #383C4A;
}

#gnc-id-dense-calendar .secondary-dark {
  background-color: #404552;
}

#gnc-id-dense-calendar .markers-dark {
  background-color: #53728e;
}


--
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20250203/aef4e21d/attachment-0001.sig>


More information about the gnucash-user mailing list