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 --- cyborg/variables.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cyborg/variables.less') diff --git a/cyborg/variables.less b/cyborg/variables.less index 5180c572..fccb10dc 100644 --- a/cyborg/variables.less +++ b/cyborg/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; @@ -699,11 +699,11 @@ //** Border color for elements within panels @panel-inner-border: @gray-dark; -@panel-footer-bg: @panel-default-heading-bg; +@panel-footer-bg: lighten(@gray-darker, 10%); @panel-default-text: @text-color; @panel-default-border: @panel-inner-border; -@panel-default-heading-bg: lighten(@gray-darker, 10%); +@panel-default-heading-bg: @panel-footer-bg; @panel-primary-text: #fff; @panel-primary-border: @brand-primary; -- cgit v1.2.3