textcolor changes in Max For Live's LFO device
How is the theme-dependent textcolor change for UI elements of the LFO device implemented? After looking at the patch for some time, I cannot seem to find anything that actually changes the colors based on readings from a live.colors object or something similar. I did however notice a little yellow square in the top right corner of every element changing colors in this "magical" way. Are these two things related?
Hi.
Every live.* UI object automatically changes their color depending on Live theme
unless you change the color from default.I think little yellow squares indicate that objects are shown in presentation mode.[edit] Little yellow things indicate the object has annotation (Info View Text).
(appear in Live screen)
I have summarized the relation between color and attribute items before.
https://docs.google.com/spreadsheets/d/1MyoOs8OYtg80k8z8LJqwr4VtPTgd1pCrn9j5E1dvnZQ
Please check if you are interested.
In Max 8.2.0 (public beta now), you will be able to change colors for every object
by theme-related color names. (dynamic colors feature)
Thanks a lot! I was using Max' standard comment object, not the live.comment one...
It wasn't clear to me that there exsists a live.* version that behaves diffrently.
Even Ableton themselves get that wrong sometimes. There are a few labels in the built-in M4L devices that use standard comment objects and don't display correctly in dark themes.