From 26e1adeb05dd3dabcb989e13389ba79f0ee66eba Mon Sep 17 00:00:00 2001 From: Valentyn Date: Wed, 19 Aug 2015 21:57:16 +0300 Subject: [PATCH] Adding ability to override variables in SASS version Related issue - https://github.com/erikflowers/weather-icons/issues/95 --- sass/weather-icons-core.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sass/weather-icons-core.scss b/sass/weather-icons-core.scss index 3aee00c..0abc9b2 100644 --- a/sass/weather-icons-core.scss +++ b/sass/weather-icons-core.scss @@ -1,8 +1,8 @@ // Base Variables -$wi-path: "../font"; -$wi-version: "2.0"; -$wi-css-prefix: wi; -$wi-font-family: weathericons; +$wi-path: "../font" !default; +$wi-version: "2.0" !default; +$wi-css-prefix: wi !default; +$wi-font-family: weathericons !default; @font-face { font-family: '#{$wi-font-family}'; @@ -50,4 +50,4 @@ $wi-font-family: weathericons; .#{$wi-css-prefix}-rotate-270 { @include wi-icon-rotate(270deg, 3); } .#{$wi-css-prefix}-flip-horizontal { @include wi-icon-flip(-1, 1, 0); } -.#{$wi-css-prefix}-flip-vertical { @include wi-icon-flip(1, -1, 2); } \ No newline at end of file +.#{$wi-css-prefix}-flip-vertical { @include wi-icon-flip(1, -1, 2); }