8000 SassC::SyntaxError: Error: Invalid CSS after " @return math" · Issue #15535 · foundation/foundation-sites · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
SassC::SyntaxError: Error: Invalid CSS after " @return math" #15535
Open
@chirag-garg-dev

Description

@chirag-garg-dev

What should happen?

The rails assets:precompile command should compile SCSS without errors when using the foundation-sites SCSS files in a Rails project.

What happens instead?

The precompilation fails with the following SassC error:
SassC::SyntaxError: Error: Invalid CSS after " @return math": expected expression (e.g. 1px, bold), was ".abs($a);"
on line 23:17 of node_modules/foundation-sites/scss/util/_math.scss
from line 5:1 of node_modules/foundation-sites/scss/util/_util.scss
from line 25:1 of node_modules/foundation-sites/scss/foundation.scss
from line 14:1 of app/assets/stylesheets/application.scss

@return math.abs($a);

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

Your Environment

  • Foundation version(s) used: 6.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0