<div style="color:black;font: 10pt arial;">The pr should be good to go, maybe it should be consolidated it into fewer commits and some whitespace issues could be fixed but <span style="font-size: 10pt;">other than that I think all of the requested changes have been made..</span>
<div>In order to set the array element colors there had to be some odd workaround in g_template</div>

<div>and g_array (setting the scalar color to a negative value will use the set tcl variable)</div>

<div><br>
</div>

<div>But I think if you want system colors you might be able to set them from tcl variables that correspond to system themes. Idk that much about x11 but on aqua and windows there are colors like <span style="font-family: Verdana, sans-serif; font-size: 12px; letter-spacing: 0.20000000298023224px;">systemHighlight that correspond to system theme colors.</span></div>

<div><span style="font-family: Verdana, sans-serif; font-size: 12px; letter-spacing: 0.20000000298023224px;"><br>
</span></div>

<div><span style="font-family: Verdana, sans-serif; font-size: 12px; letter-spacing: 0.20000000298023224px;">I think on x11 the way to do it might be through setting .Xresources/.Xdefaults and xrdb</span><span style="font-family: Verdana, sans-serif; font-size: 12px; letter-spacing: 0.20000000298023224px;">, then perhaps you can </span><span style="font-size: 12px; letter-spacing: 0.20000000298023224px; font-family: Verdana, sans-serif;">get the tcl color variables by getting the option? (with the tk "option get" command)</span></div>

<div><br>
</div>

<div>basically, if there is a way to get system colors stored in some system config/theme file/database from within tk then we can do that within the tcl-plugin file that we're using to set the color variables anyways.</div>

<div><br>
</div>

<div>-seb</div>

<div><br>

<div style="font-family:helvetica,arial;font-size:10pt;color:black">-----Original Message-----<br>
From: Andre Osku Schmidt <andre@osku.de><br>
To: pd-list@lists.iem.at<br>
Sent: Sat, Jan 2, 2021 3:17 pm<br>
Subject: Re: [PD] theme all the things<br>
<br>

<div dir="ltr">On Sat, 02 Jan 2021 14:47:53 +0100<br clear="none">IOhannes m zmölnig <<a shape="rect" ymailto="mailto:zmoelnig@iem.at" href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>> wrote:<br clear="none"><br clear="none">> Am 2. Jänner 2021 13:27:05 MEZ schrieb Andre Osku Schmidt <<a shape="rect" ymailto="mailto:andre@osku.de" href="mailto:andre@osku.de">andre@osku.de</a>>:<br clear="none">> > hello people,<br clear="none">> > <br clear="none">> <br clear="none">> > - is someone working on this already? (i haven't used pd in a<br clear="none">> > ~decade...)<br clear="none">> <br clear="none">> check out: <a shape="rect" href="https://github.com/pure-data/pure-data/pull/196" target="_blank">https://github.com/pure-data/pure-data/pull/196</a><br clear="none"><br clear="none">but of course, i remember now... >.<*<br clear="none"><br clear="none">well, at least i "learned" couple things while re-inventing the wheel ;P<br clear="none"><br clear="none">sorry but i could not follow the hundreds of comments in that pull-request, what is there still todo?<br clear="none"><br clear="none">fwiw, i agree that the scope should be kept minimal (i would even go as far as to not change tk(k) theme colors (it currently overwrites my tk(k) theme colors used by pd-window "terminal". but ultimately i don't actually care where i need to change the colors...))<br clear="none"><br clear="none">not sure if i should comment on that pull-request that my "end-goal" would be to load the colors from system theme in /etc/whatever (and i assume some would like to load from ~/whatever & other os system/user config paths). and while i was doing my experiment, the "pkgIndex way" felt like a good place to add this new tcl code?<br clear="none"><br clear="none">so maybe that pull-request could/should add the colors to tcl/pd_colors.tcl (or something, but instead tcl/pd-gui.tcl) and the system/user theme loading code could then later be added there?<br clear="none"><br clear="none">but i don't actually know what i'm talking about, and mostly go by trial-and-error and "feel", so...<br clear="none"><br clear="none">fwiw, i'll now keep using this pull-request (in case the merge is waiting for bug testing). it at least changes all the (and more) colors i need, cool!<br clear="none"><br clear="none">cheerio
<div class="yqt0443875940" id="yqtfd39736"><br clear="none">.oskude<br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div>
</div>
</div>
</div>
</div>