Fórum

Generate color scheme with Liferay-theme-task plugin with gulp

Juan Fdez, modificado 6 Anos atrás.

Generate color scheme with Liferay-theme-task plugin with gulp

New Member Postagens: 6 Data de Entrada: 16/04/15 Postagens Recentes
I'm working with the liferay-theme-task plugin, a wonderful tool with gulp to generate Liferay themes. I use Liferay 6.2 with Bootstrap 3, it is not the first project I do and the results are fantastic !!!

The problem I have encountered has been creating the color schemes. I tell you, because it will happen to you:

In the body I catch the look-and-feel without any problems and I have all the CSS well related to changing color scheme. The problem I have is in my booting aui.css, since when I enter Bootstrap 3 in Liferay I am pulling this css to boot.

Well, I am unable to change my @import"color_schemes/cyan/bootstrap_variables" for each color scheme.




I only use the first element import variables, if color scheme change ignores me and still showing the same color.

In point 2 I show how I have all the new css of my project related to the color scheme selected in the Liferay configuration. This point does it well, since changing the color scheme in the body gives me its new property.




I have tried it in many ways and there is no way ...