Skip to content

Commit

Permalink
Added !default to all variables
Browse files Browse the repository at this point in the history
First of all, thank you for making this plugin! 
I wanted to overwrite the setting for transitions, but they where missing !default.
  • Loading branch information
emolr committed Feb 15, 2016
1 parent 4fe63e1 commit 5bd8e6a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scss/_InputRangeVariables.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
$InputRange-fontFamily: 'Helvetica Neue', san-serif;
$InputRange-primaryColor: #3f51b5;
$InputRange-neutralColor: #aaaaaa;
$InputRange-neutralLightColor: #eeeeee;
$InputRange-disabledColor: #cccccc;
$InputRange-fontFamily: 'Helvetica Neue', san-serif !default;
$InputRange-primaryColor: #3f51b5 !default;
$InputRange-neutralColor: #aaaaaa !default;
$InputRange-neutralLightColor: #eeeeee !default;
$InputRange-disabledColor: #cccccc !default;

// InputRange-slider
$InputRange-slider-background: $InputRange-primaryColor !default;
$InputRange-slider-border: 1px solid $InputRange-primaryColor !default;
$InputRange-slider-height: 1rem !default;
$InputRange-slider-width: 1rem !default;
$InputRange-slider-transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
$InputRange-sliderContainer-transition: left 0.3s ease-out;
$InputRange-slider-transition: transform 0.3s ease-out, box-shadow 0.3s ease-out !default;
$InputRange-sliderContainer-transition: left 0.3s ease-out !default;
$InputRange-slider--active-transform: scale(1.3) !default;
$InputRange-slider--is-disabled-background: $InputRange-disabledColor !default;
$InputRange-slider--is-disabled-border: 1px solid $InputRange-disabledColor !default;
Expand All @@ -21,6 +21,6 @@ $InputRange-label-color: $InputRange-neutralColor !default;
// InputRange-track
$InputRange-track-background: $InputRange-neutralLightColor !default;
$InputRange-track-height: 0.3rem !default;
$inputRange-track-transition: left 0.3s ease-out, width 0.3s ease-out;
$inputRange-track-transition: left 0.3s ease-out, width 0.3s ease-out !default;
$InputRange-track--active-background: $InputRange-primaryColor !default;
$InputRange-track--is-disabled-background: $InputRange-neutralLightColor !default;

0 comments on commit 5bd8e6a

Please sign in to comment.