Hi,

Thanks for clarification.
Our site used multiple color themes, basically because we are a federation
of organizations.
We changed colorThemeInit.vm to do this.

basicly it works, but when in a stylesheetextension:
#template('colorThemeInit.vm') #disclaimer h3 {background-color:
$theme.menuBackgroundColor;}

We always get the color of the default site color theme and not the color
theme that is loaded on the page?
Any solution?


Yes the LESS compiler is running on the server, except for the preview box
of the Flamingo Theme Application.

You should be able to put any valid LESS code in the "advanced" section of
that application.

For example, if you want to set a bootstrap variable that the application
does not handle, you could add:

@modal-content-bg: red;

But you can also add new CSS classes, like:
.myClass{
background-color: red;
}
and this class can use LESS functions and bootstrap mixins:
.myClass{
background-color: darken(red, 10%); // LESS function
.make-xs-column(12); // Bootstrap mixin
}

And the class will be added to the default style.css. I am updating
http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Application

I hope this helps,

2014-10-27 16:01 GMT+01:00 Gerritjan Koekkoek <gerritjankoekk...@gmail.com>:

> Does the Less to CSS preprocessor in the Flamingo themes app run on the
> server?
> What documentation is available (or examples of what kind of Less code can
> be entered in the Advanced Less box?
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to