Possible Bug
-
Just FYI
I think there is an issue compiling the darken function with background colors.Like:
@mixin btnHover($baseColor, $amnt) { background-color: $baseColor; &:hover { background-color: darken($baseColor, $amnt); } &:active, &:focus { background-color:$baseColor; } }
I use the mixin above to automate default button hover effects in projects.
Using rails or gulp to compile it works fine but when I compile on remote server using wp-scss plugin, the color is compiled as black. I’m sorry I haven’t had time to test further or maintain an example.
- The topic ‘Possible Bug’ is closed to new replies.