Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add site.less, for defining site-specific Less rules
Admins can (either by hand, or in a separate RPM) overwrite the site.less symlink to point at their own custom Less rules, which will be included with Beaker's Less sources when generating CSS. Ideally this would just be a config option of extra filenames which are appended to the 'css' assets bundle. Unfortunately that doesn't work because webassets compiles each Less source file separately, which prevents the site Less rules from overriding or cross-referencing the Beaker ones. In future Less might support @import globs [1] which would allow us to @import site rules from a defined directory. But until then we have to do this ghost symlink hackery. [1] less/less.js#1181 Bug: 1012224 Change-Id: I86f6d6987fd66988a46ec7372bbc3a249f015b46
- Loading branch information