From 1ec2d04b79136ddff854b84e30f4f7689645679d 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 dfd75efeef..0e5360a263 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 aeb092d3a1..ffaf4f8118 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}'); } /*------------------