From 9965473ff8c6f5720083dfaab39422e25309338f Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 18 Aug 2015 18:28:25 -0400 Subject: [PATCH] Make overrides optional for packaged themes --- src/theme.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme.less b/src/theme.less index c71ba3cd3..545bf8f22 100644 --- a/src/theme.less +++ b/src/theme.less @@ -27,7 +27,7 @@ @import "@{themesFolder}/default/@{type}s/@{element}.variables"; /* Packaged Theme */ -@import "@{themesFolder}/@{theme}/@{type}s/@{element}.variables"; +@import (optional) "@{themesFolder}/@{theme}/@{type}s/@{element}.variables"; /* Site Theme */ @import (optional) "@{siteFolder}/@{type}s/@{element}.variables"; @@ -50,6 +50,6 @@ -------------------*/ .loadUIOverrides() { - @import "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides"; + @import (optional) "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides"; @import (optional) "@{siteFolder}/@{type}s/@{element}.overrides"; }