Skip to content
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

Problems "reusing and rewriting" some animate.scss classes #36

Open
andreecordova opened this issue May 22, 2018 · 0 comments
Open

Problems "reusing and rewriting" some animate.scss classes #36

andreecordova opened this issue May 22, 2018 · 0 comments

Comments

@andreecordova
Copy link

Hello everyone,

I working on a project that has a version of animate-sass in a physical form but I try to pass that inside my node_modules with yarn them execute one task for generating all my styles but I see a problem because my re-write classes don't recognize the include sentence. How can I fix that problem?

//This is my variable content inside my _variable.scss

$use-fadeInLeft: true !default;
$use-fadeInUp: true !default;
$use-fadeInDown: true !default;
$use-fadeOutRight: true !default;
$use-flash: true !default;

//This is a part of the content inside my mobile.scss

@import "../../global/_variables";
@import '../../../../node_modules/animate-sass/_animate';
@import "../../global/_animations";

And the error is this:
animate-sas-error

My little code that shows that problem is this one:

.fadeInLeftEffect {
	@include fadeInLeft(
	$duration: 2s,
	$count: 1,
	$delay: .5s,
	$function: ease,
	$fill: both
	);
}

Anyone that could help me to fix this problem, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant