[TYPO3-v4] Include LESS in TYPO3
Sebastian Michaelsen
sebastiangebhard at hoch2.de
Fri Jun 25 11:30:36 CEST 2010
Certainly some of you know the CSS preprocessor LESS[1].
It enhances the possibilities of CSS by adding variables, nested rules,
value calculations and something they call "Mixins" (very useful too).
You write LESS-Code which almost looks like CSS, the Less-Compiler than
produces actual "primitive" CSS code.
Until now the problem was that the only LESS Compiler was written in
Ruby, but now there's also a PHP-Version available.
And.. good news: Its license is GPL3. IMHO this means TYPO3 could use it.
Having variables e.g. for colors would make skinning the TYPO3 Backend
even more easy. And also for FE Development it's a great help.
something like
page.includeCSS.myfile.parseLESS = 1
could trigger the preprocessing of a (LESS-)CSS file
What do you think?
[1] http://lesscss.org/
More information about the TYPO3-project-v4
mailing list