Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:less
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
development:architecture:less [2016/12/21 20:41] – [Command Line Compilation] crhallberg | development:architecture:less [2021/04/27 13:49] – [Backup PHP Command Line Compiler] demiankatz | ||
---|---|---|---|
Line 2: | Line 2: | ||
[[http:// | [[http:// | ||
+ | |||
+ | ===== LESS vs. SASS ===== | ||
+ | |||
+ | As of this writing, all VuFind style development is done using LESS; SASS files are programmatically derived from the LESS files using the lessToSass [[development: | ||
===== Command Line Compilation ===== | ===== Command Line Compilation ===== | ||
Line 58: | Line 62: | ||
This will use the Less Parser to compile your LESS into CSS files in the regular CSS folder. These can then be used as regular CSS files, but more importantly, | This will use the Less Parser to compile your LESS into CSS files in the regular CSS folder. These can then be used as regular CSS files, but more importantly, | ||
+ | |||
+ | :!: Note that the "grunt less" task is the preferred means of compiling LESS files for VuFind, and the older PHP compiler may produce inconsistent results in some situations. The PHP compiler is deprecated as of VuFind 8.0 and will be removed in VuFind 9.0. | ||
LESS does not have to be set to active for this to work, as long as the files you want to compile are listed under " | LESS does not have to be set to active for this to work, as long as the files you want to compile are listed under " |
development/architecture/less.txt · Last modified: 2023/04/20 15:50 by demiankatz