Skip to content

Commit

Permalink
refactor color variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
idmontie committed Mar 4, 2015
1 parent 2089971 commit cabdd25
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions build/hover-effects.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/hover-effects.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/hover-effects.min.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ $hover-effect-winston-delay: $hover-effect-default-short-delay
$hover-effect-winston-speed: .45s !default;
$hover-effect-winston-slow-speed: $hover-effect-default-speed !default;
$hover-effect-winston-background-color: $hover-effect-background-color !default;
$hover-effect-winston-font-color: $hover-effect-background-color !default;
$hover-effect-winston-border-color: $hover-effect-border-color !default;

// Zoe
$hover-effect-zoe-speed: $hover-effect-default-speed !default;
Expand Down
2 changes: 1 addition & 1 deletion src/effects/_lexi.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ====
.hover-effect figure.effect-lexi {
background: -webkit-linear-gradient(-45deg, darken($hover-effect-lexi-background-color, 80%) 0%, $hover-effect-lexi-background-color 100%);
background: linear-gradient(-45deg, #000 0%, $hover-effect-lexi-background-color 100%);
background: linear-gradient(-45deg, darken($hover-effect-lexi-background-color, 80%) 0%, $hover-effect-lexi-background-color 100%);

img {
@include transition(opacity $hover-effect-lexi-speed, transform $hover-effect-lexi-speed);
Expand Down
6 changes: 3 additions & 3 deletions src/effects/_winston.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@include rotate3d(0, 0, 1, 45deg);
@include transform-origin(0 100%);

border-bottom: 300px solid white;
border-bottom: 300px solid $hover-effect-winston-border-color;
border-left: 425px solid transparent;
content: '';
height: 100%;
Expand Down Expand Up @@ -45,13 +45,13 @@
}

a {
color: #5d504f;
color: $hover-effect-winston-font-color;
font-size: 170%;
margin: 0 10px;

&:hover,
&:focus {
color: #cc6055;
color: darken($hover-effect-winston-font-color, 40%);
}
}

Expand Down

0 comments on commit cabdd25

Please sign in to comment.