Good to see there's a plan in gestation. I may well check out pdnext, but for now, I managed to change the white background to gray30. That has helped.
Some grep output:
tcl/pdwindow.tcl:336: .pdwindow.tcl.entry configure -background
"gray30"
tcl/pdwindow.tcl:407: option add *PdWindow*Text.background "gray30"
startupFile
tcl/pdwindow.tcl:408: option add *PdWindow*Entry.background "gray30"
startupFile
tcl/pdwindow.tcl:438: -background gray30 -foreground gray88
tcl/pdtk_canvas.tcl:134: -background gray30
I used this tk rgb color map to lookup the names: https://www.tcl.tk/man/tcl/TkCmd/colors.htm
I did see a lot of hex colors in the c code when I grepped for "color". That gave me pause, and undermined the idea that I might be able to make a brute force global change to the color palette used by tk on my system: https://www.sci.utah.edu/~chris/SCIRun/tcl/tk/tkColor.c
Thanks for the info and advice!
Cheers
============================================================ Andrew D Lyons | Tools Developer | https://www.sites.google.com/site/tstexture http://www.tstex.com ============================================================
On Thu, 26 Sept 2024 at 00:34, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 9/26/24 07:26, Andrew Lyons wrote:
Hi,
I'm looking to modify vanilla src to hard code a dark color scheme. Just something quick and easy.
https://github.com/pure-data/pure-data/issues/1482
Any pointers on where in the src I find default colors? Doesn't seem to
be
in the tcl directory...
it's mostly hardcoded in the C-sources.
gdasrm IOhannes
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/FDZXWZT5CZ...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/