Is it possible in Liferay to get a programmed color scheme for a theme?
I have to include different icons depending on the current color scheme. I know that this can be done using css, but in my problem it is better to get the color scheme in java code
If you want to get the color scheme of the current page you are in, try the following code
ColorScheme colorScheme = (ColorScheme )request.getAttribute(WebKeys.WebKeys.COLOR_SCHEME);