-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include Sass files in npm package and allow $spinnerSize Sass variable to be reassigned #81
Conversation
99f0f2f
to
fcb89b5
Compare
What happened here? Do you need some help? |
It looks like the base branch was set to 2.x, so when I removed this branch GitHub closed your pull request. |
Oh, now I see. This branch got some mess :) |
I fixed it for you. :) I'm trying to understand what issue this PR fixes, though. You can test Ladda with Bootstrap 4 here, and it seems to work fine: https://theodorejb.github.io/Ladda/test/bootstrap4.html. |
Sorry, I can't replicate that collision anymore... We can keep the other commit. |
For overriding the default spinner size, wouldn't it be better to use the built-in |
Oh, I see. I recently made this (scroll down to #via-npm) and I think letting people customise that from pre-processors is better. Like bootstrap :) Of course, we can close this pr if there will be no sass config. |
I reverted the unnecessary Bootstrap 4 commit, and added a commit to re-include the Sass files in the npm package. Thanks for the contribution! |
Great! Thanks for reconsider :) |
There are 2 commits:
solve this in a way, by isolating transition to padding, and not transitioning background-color and color.
adding
!default
to sass variable which allows reassigning.Hope it helps.