2
0
mirror of https://github.com/erikflowers/weather-icons.git synced 2025-10-13 07:52:12 -06:00

Merge pull request #96 from Va1/patch-1

Adding ability to override variables in SASS version
This commit is contained in:
Erik Flowers 2015-08-19 14:01:04 -07:00
commit 9ab993da47

View File

@ -1,8 +1,8 @@
// Base Variables // Base Variables
$wi-path: "../font"; $wi-path: "../font" !default;
$wi-version: "2.0"; $wi-version: "2.0" !default;
$wi-css-prefix: wi; $wi-css-prefix: wi !default;
$wi-font-family: weathericons; $wi-font-family: weathericons !default;
@font-face { @font-face {
font-family: '#{$wi-font-family}'; 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}-rotate-270 { @include wi-icon-rotate(270deg, 3); }
.#{$wi-css-prefix}-flip-horizontal { @include wi-icon-flip(-1, 1, 0); } .#{$wi-css-prefix}-flip-horizontal { @include wi-icon-flip(-1, 1, 0); }
.#{$wi-css-prefix}-flip-vertical { @include wi-icon-flip(1, -1, 2); } .#{$wi-css-prefix}-flip-vertical { @include wi-icon-flip(1, -1, 2); }