From 28bd7c0707e3a29f4f74fbdeab88beaa81cd06d4 Mon Sep 17 00:00:00 2001 From: Corey Sewell Date: Fri, 14 Nov 2014 20:40:27 +1300 Subject: Add support for SASS/SCSS Refactored less files to be more scss friendly * Ensured no variables are used before assignment * Removed interpolated variable usage with similar substitute Added SCSS Grunt tasks * convert_less - Converts theme less files to scss * swatch_scss - Same as original swatch task, but using sass * compress_scss - Same as original compress task, but using sass Added dependencies for SCSS Updated _config.yml so jekyll includes theme _bootswatch.scss and _variables.scss files Added .sass-cache dir to .gitignore --- cosmo/variables.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cosmo/variables.less') diff --git a/cosmo/variables.less b/cosmo/variables.less index 4c2ac524..71f4018d 100644 --- a/cosmo/variables.less +++ b/cosmo/variables.less @@ -236,7 +236,7 @@ //** Hover color for dropdown links. @dropdown-link-hover-color: #fff; //** Hover background for dropdown links. -@dropdown-link-hover-bg: @dropdown-link-active-bg; +@dropdown-link-hover-bg: @component-active-bg; //** Active dropdown menu item text color. @dropdown-link-active-color: #fff; @@ -244,10 +244,10 @@ @dropdown-link-active-bg: @component-active-bg; //** Disabled dropdown menu item background color. -@dropdown-link-disabled-color: @text-muted; +@dropdown-link-disabled-color: @gray-light; //** Text color for headers within dropdown menus. -@dropdown-header-color: @text-muted; +@dropdown-header-color: @gray-light; //** Deprecated `@dropdown-caret-color` as of v3.1.0 @dropdown-caret-color: #000; -- cgit v1.2.3