in macOS, newer versions of Tk are system theme aware, ie. light and dark mode. I actually disabled this on purpose so Pd always stays in "light mode" until we can integrate theme handling.

In this case, I think something similar s happening where Tk is picking up the window manager's theme and applying it to standard UI stuff such as default text color and window/widget background colors. The explicit Pd canvas stuff stays the default PD colors of course.

There is an implementation in a PR right now that would be good to look at. I was planning on experimenting with it and Tks mode handling directly over the holidays but did not have time in the end.

On Feb 4, 2022, at 5:28 AM, pd-list-request@lists.iem.at wrote:

Message: 5
Date: Thu, 3 Feb 2022 20:28:32 -0800
From: Miller Puckette <msp@ucsd.edu>
To: rafael.raccuia@blindekinder.com
Cc: pd-list@lists.iem.at
Subject: Re: [PD] KDE: how to change window color, too dark...
Message-ID: <YfyrcP8osorDlzZE@ucsd.edu>
Content-Type: text/plain; charset=us-ascii

Hi Rafael -

I don't know why the colors aren't the standard (black and white) that are baked into
the Pd code.  Pd should be ignoring the theme setting on your desktop.

Just for a test, can you see if the colors change when you change your theme?

cheers
Miller

On Tue, Feb 01, 2022 at 09:50:42PM +0100, rafael.raccuia@blindekinder.com wrote:
Hi,
I'm on KDE, the main theme is Breeze. Most apps are ok, but PD is too dark,
with few contrast (black on dark grey), and I cant know if checkboxes are
checked or not (light grey on white).
I use PD 0.50.

How can I change the colors?

thank you!

rph-r

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com