From 8d878b64f410ed8a386b04e8d1f260487227147f Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 20 Nov 2014 02:03:41 -0500 Subject: [PATCH] Update theme.config to include import directives in separate file --- src/theme.config.example | 44 +++------------------------------------- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/src/theme.config.example b/src/theme.config.example index db96ffbcf..c69ebbbbd 100755 --- a/src/theme.config.example +++ b/src/theme.config.example @@ -21,7 +21,7 @@ /******************************* - Themes + Theme Selection *******************************/ /* To override a theme for an individual element @@ -88,47 +88,9 @@ /******************************* - Import Directives + Import Theme *******************************/ -@theme : @@element; - -/*------------------ - Load Default --------------------*/ - -@import "@{themesFolder}/default/globals/site.variables"; -@import "@{themesFolder}/default/@{type}s/@{element}.variables"; - -/*------------------ - Load Theme --------------------*/ - -@import "@{themesFolder}/@{site}/globals/site.variables"; -@import "@{themesFolder}/@{theme}/@{type}s/@{element}.variables"; - -/*------------------ - Load Site --------------------*/ - -@import "@{siteFolder}/globals/site.variables"; -@import "@{siteFolder}/@{type}s/@{element}.variables"; - -/*------------------ - Fonts --------------------*/ - -.loadFonts() when (@importGoogleFonts) { - @import (css) 'http://fonts.googleapis.com/css?family=@{googleFontRequest}'; -} - -/*------------------ - Overrides --------------------*/ - -.loadUIOverrides() { - @import "@{themesFolder}/@{theme}/@{type}s/@{element}.overrides"; - @import "@{siteFolder}/@{type}s/@{element}.overrides"; -} +@import "theme.less"; /* End Config */ \ No newline at end of file