Closed carlosrberto closed 11 years ago
I actually have a branch I am working on now that fixes this, will be pushing it here soon.
Thanks @jhardy!, this is a nice extension.
+1
Sorry, @carlosrberto and @paynechu, been slammed recently, going to try to look at this tomorrow and get it all resolved.
can you all give a test with the new version( 0.2.5) and see if that fixes your issues?
hi @jhardy , this is my code. I want the text color to be black. but sassy-button-gradient's #000
seems not work. And I need to use color: black;
instead. Tested with 0.2.5
.round-button {
@include sassy-button-structure(emCalc(50), 100%);
@include sassy-button-gradient("matte", #fff, #aaa, #000);
// color: black;
}
I am having trouble reproducing this locally, so maybe a little more detail and maybe you can share the outputted code. I just tested this with the following Sass/HTML
.round-button {
@include sassy-button-structure(50px, 100%);
}
.red-text {
@include sassy-button-gradient("matte", #fff, #aaa, #f00);
}
.blue-text {
@include sassy-button-gradient("matte", #fff, #aaa, #00f);
}
.black-text {
@include sassy-button-gradient("matte", #fff, #aaa, #000);
}
With this HTML
<button class="round-button red-text"> This text should be red </button>
<button class="round-button blue-text"> This text should be blue</button>
<button class="round-button black-text"> This text should be black </button>
Here is the screen shot of the buttons with the correct text color:
closing this issue unless it comes up again.
I trying to change the text color but it always get the default color (white)
Using version 0.2 of sassy-buttons with compass 0.12.2.
outputs: