Trouble using composer and Rails-Stripe-Membership-Saas
brianpetro opened this issue · 6 comments
I can not get this gem to work with the bootstrap files that are created along with the Rails-Stripe-Membership-Saas composer. I am using the gem "bootstrap-sass", ">= 2.1.1.0". Any ideas?
I was able to get it partially running by placing the @import code into bootstrap_and_override.css.scss.
Now, as long as I have the import 'bootstrap' and import 'bootswatch/readable/variables' both active, I get this error:
Sass::SyntaxError at /
"transparent" is not a color for `darken'
(in /home/brian/aehalo/app/assets/stylesheets/bootstrap_and_overrides.css.scss)
This is a "Readable" specific issue. When I use "Cerulean" things appear to work fine.
The problem comes with your javascript, I suffered an issue like this. Check your js console and start debugging there
The issue is in /vendor/assets/stylesheets/bootswatch/readable/_variables.scss of the gem.
It is set to:
$dropdownLinkColor: $linkColor;
$dropdownLinkColorHover: $linkColorHover;
$dropdownLinkBackgroundHover: transparent;
There's a call for darken($dropdownLinkBackgroundHover) later that causes this bug.
According to the actual readable variables.less file it should be:
$dropdownLinkColor: $grayDark;
$dropdownLinkColorHover: $white;
$dropdownLinkBackgroundHover: $linkColor;
See if everything just magically works fine in 0.3.0. I updated everything with the help of the new converter, and checked everything against my test site.
Updating the gem fixed my issue. Thanks.