Browse Source

Add compatibility with Less 3.x

Any custom theme.config files will need to be updated to add the (multiple)
option when including theme.less.
pull/6447/head
Samuel Cormier-Iijima 6 years ago
parent
commit
92261675c2
2 changed files with 3 additions and 3 deletions
  1. 4
      src/theme.config.example
  2. 2
      src/theme.less

4
src/theme.config.example

@ -87,6 +87,6 @@
Import Theme Import Theme
*******************************/ *******************************/
@import "theme.less";
@import (multiple) "theme.less";
/* End Config */
/* End Config */

2
src/theme.less

@ -48,7 +48,7 @@
-------------------*/ -------------------*/
.loadFonts() when (@importGoogleFonts) { .loadFonts() when (@importGoogleFonts) {
@import url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}');
@import (css) url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}');
} }
/*------------------ /*------------------

Loading…
Cancel
Save