From 92261675c25bfce8b1cf96aa5d70f6b07d2b93a6 Mon Sep 17 00:00:00 2001 From: Samuel Cormier-Iijima Date: Thu, 21 Jun 2018 11:19:21 -0400 Subject: [PATCH] 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. --- src/theme.config.example | 4 ++-- src/theme.less | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/theme.config.example b/src/theme.config.example index dfd75efee..0e5360a26 100644 --- a/src/theme.config.example +++ b/src/theme.config.example @@ -87,6 +87,6 @@ Import Theme *******************************/ -@import "theme.less"; +@import (multiple) "theme.less"; -/* End Config */ \ No newline at end of file +/* End Config */ diff --git a/src/theme.less b/src/theme.less index aeb092d3a..ffaf4f811 100644 --- a/src/theme.less +++ b/src/theme.less @@ -48,7 +48,7 @@ -------------------*/ .loadFonts() when (@importGoogleFonts) { - @import url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}'); + @import (css) url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}'); } /*------------------