Fix gnucash colours on kde breeze dark theme
Updated for Gnu Cash 4.4 on KUbuntu 21.04
The register input shows as black text on a black background even with the old overrides.
This snippet makes the background white
.gnc-class-register-foreground.flat {
background-color: white;
}
Original
I recently upgraded to KUbuntu 20.04 and found that gnucash's input boxes have black font even when using a dark theme (which has a dark grey background). This makes it very hard to read.
Thankfully I'm not alone there is a workaround for this, add the following css to ~/.config/gnucash/gtk-3.0.css
.header-color {
background-color: #363636;
color: #c8c8c8;
}
.primary-color {
background-color: #383838;
}
.primary-color:disabled {
background-color: #383838;
}
.secondary-color {
background-color: #323232;
}
.secondary-color:disabled {
background-color: #323232;
}
.split-color {
background-color: #474747;
}
.split-color:disabled {
background-color: #53728e;
}
.cursor-color {
background-color: #383838;
color: #c8c8c8;
}
cursor entry {
background-color: #383838;
color: #c8c8c8;
}
References: