Unfortunately, optional parameters need to be optional in both .<filename>_vars() and .<filename>_main()

This commit is contained in:
Caleb James DeLisle
2018-07-18 12:58:24 +02:00
parent f1642fca89
commit a2e096b6f3
5 changed files with 11 additions and 8 deletions

View File

@@ -8,7 +8,10 @@
@help-text-color: contrast(@help-bg-color-l15, #fff, #000); //@color;
@help-link-color: contrast(@help-bg-color-l15, lighten(spin(@bg-color, 180), 10%), darken(spin(@bg-color, 180), 10%));
}
.help_main (@color, @bg-color) {
.help_main (
@color: @colortheme_default-color,
@bg-color: @colortheme_default-bg
) {
--LessLoader_require: LessLoader_currentFile();
.help_vars(@color, @bg-color);
--help-bg-color-l15: @help-bg-color-l15;