Version 2 has some nice functionality in this area. What version are you using?
Version 2 of the Extension Builder.
Read the section in the Programming Guide: "Customizing the Extension User Interface"
I read that. It's where I found most of what I needed. However, as far as I can tell, there is no way to programatically find out if Illustrator is using a dark theme, other than infering it from the colors in the AppSkinInfo.
1 person found this helpful
Yes. You need to infer it from the AppSkinInfo, but if you are using CS6, you can have the skinning change automatically.
There's more than just "dark" and "light" themes. There's a whole range. So I'm not sure that just geting "dark" or "light" will be very useful...
If you play with the Brightness slider, you'll see most components are drawn with only a "dark" or "light" theme, with nothing in-between, except for the background color. For the most part, all font colors, images, selection colors and others only have a "dark" or "light" mode. Dark themes are those with the Brightness setting set to 50% or less, and Light themes are those at 51% or higher. (If you play with the Brightness slider, you'll see how the UI goes through a big change at the 50-51% value, but only the background changes for other values).
I'm doing the auto-skinning. But I have some custom controls that need to be drawn correctly, based on the current theme.
For my purposes, just checking the color of the font is enough to know which theme is being used.
Thanks for your input on this, Harbs.