Menu icon Foundation
Problem activation foundation-prototype-classes

Hello,

 

I activated the class "@include foundation-prototype-classes" in the app.scss file.

 

Unfortunately, I have a plugin error "SASS" which mentions the following error:

 

Error in plugin 'sass'

Message:

     node_modules / foundation-site / SCSS / prototype / _rounded.scss

Error: no mixin named rounded-radius

 

        backtrace:

        Node_modules / foundation-sites / scss / prototype / _rounded.scss: 48, in mixin `@ content`

        Node_modules / foundation-sites / scss / util / _breakpoint.scss: 161, in mixin `breakpoint`

        Node_modules / foundation-sites / scss / prototype / _rounded.scss: 42, in mixin `foundation-prototype-rounded`

        Node_modules / foundation-sites / scss / prototype / _prototype.scss: 79, in mixin `foundation-prototype-classes`

        src / assets / SMSC / app.scss: 50

         On line 48 of node_modules / foundation-sites / scss / prototype / _rounded.scss

>> @include rounded-radius;

    --------------------- ^

 

How can this problem be corrected?

 

Thank you.

 

Ricardo

prototype classesSass

Hello,

 

I activated the class "@include foundation-prototype-classes" in the app.scss file.

 

Unfortunately, I have a plugin error "SASS" which mentions the following error:

 

Error in plugin 'sass'

Message:

     node_modules / foundation-site / SCSS / prototype / _rounded.scss

Error: no mixin named rounded-radius

 

        backtrace:

        Node_modules / foundation-sites / scss / prototype / _rounded.scss: 48, in mixin `@ content`

        Node_modules / foundation-sites / scss / util / _breakpoint.scss: 161, in mixin `breakpoint`

        Node_modules / foundation-sites / scss / prototype / _rounded.scss: 42, in mixin `foundation-prototype-rounded`

        Node_modules / foundation-sites / scss / prototype / _prototype.scss: 79, in mixin `foundation-prototype-classes`

        src / assets / SMSC / app.scss: 50

         On line 48 of node_modules / foundation-sites / scss / prototype / _rounded.scss

>> @include rounded-radius;

    --------------------- ^

 

How can this problem be corrected?

 

Thank you.

 

Ricardo

Rafi Benkual 12 days ago

I can't replicate this with a copy of 6.4.1. Did you also change the 

$global-prototype-breakpoints: true;

?

Ricardo Do Vale 9 days ago

Hello,

Sorry for not responding sooner.

I found that if

$global-prototype-breakpoints: true;

Is set to "true", there is conflict with.

@include foundation-prototype-rounded;

So I was forced to 

$global-prototype-breakpoints: false;

It's strange, I did not realize that the "Breakpoints" have to do with the "rounded" styles.