Skip to content

SASS compilation throwing an error #374

Description

@mdlama

When attempting to compile app/templates/bmc/css/pages/homepage.scss, there following error is thrown:

Compilation Error
Error: Declarations may only be used within style rules.
  ╷
9 │   display: grid;
  │   ^^^^^^^^^^^^^
  ╵
  Users/mdlama/dev/hubzero/hubzero-2.2/public/app/templates/bmc/css/pages/mixins.scss 9:3      grid-template()
  Users/mdlama/dev/hubzero/hubzero-2.2/public/app/templates/bmc/css/pages/homepage.scss 205:3  @content
  Users/mdlama/dev/hubzero/hubzero-2.2/public/app/templates/bmc/css/pages/mixins.scss 28:5     respond-at()
  Users/mdlama/dev/hubzero/hubzero-2.2/public/app/templates/bmc/css/pages/homepage.scss 204:1  root stylesheet
--------------------

This issue might be related: sass/dart-sass#1299

Will work directly with homepage.css for now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions