-
Notifications
You must be signed in to change notification settings - Fork 43
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
Showing
4 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters