diff --git a/sass/__var-lib.scss b/sass/__var-lib.scss index 2d0efc2..f8e58b1 100644 --- a/sass/__var-lib.scss +++ b/sass/__var-lib.scss @@ -27,19 +27,5 @@ $c-grey-light: #eee; $c-white: #fff; -// Button Colors -$a--bg: #0ae; -$a--hover: #09d; -$a--active: #08b; - -$b--bg: #3c5; -$b--hover: #2b4; -$b--active: #2a4; - -$c--bg: #d33; -$c--hover: #c22; -$c--active: #b22; - - // Inputs $c-focus: #5ab; diff --git a/sass/_button.scss b/sass/_button.scss index 0c6c861..e833328 100644 --- a/sass/_button.scss +++ b/sass/_button.scss @@ -1,9 +1,27 @@ +//------------------------------------------------------------------- +// Button Colors +//------------------------------------------------------------------- + +$a--bg: #0ae; +$a--hover: #09d; +$a--active: #08b; + +$b--bg: #3c5; +$b--hover: #2b4; +$b--active: #2a4; + +$c--bg: #d33; +$c--hover: #c22; +$c--active: #b22; + //------------------------------------------------------------------- // Mixin to set btn background for inactive, active & hover states //------------------------------------------------------------------- // set default variables to be base button colors. -@mixin btn-style($bg: $c-off-black, $bg-hover: $c-darker, $bg-active: $c-dark) { +@mixin btn-style ($bg: $c-off-black, + $bg-hover: $c-darker, + $bg-active: $c-dark) { background: $bg; &:hover { @@ -25,51 +43,43 @@ // Set Generic