Skip to content

SASS is deprecating the ability to use a / (slash) for division. #709

Description

@CodeAsm

During site deployment, i get deprecation warnings. Similiar to the suggested fix here:
#705 seems to indicate the same issue im having

remote: 
remote: Recommendation: math.div($spacing-unit, 2) or calc($spacing-unit / 2)
remote: 
remote: More info and automated migrator: https://sass-lang.com/d/slash-div
remote: 
remote:     ╷
remote: 134 │   padding-left: $spacing-unit / 2;
remote:     │                 ^^^^^^^^^^^^^^^^^
remote:     ╵
remote:     ../../../../minima-2.5.1/_sass/minima/_base.scss 134:17  @import
remote:     minima.scss 48:3                                         @import
remote:     /home/[snip]/git/site/assets/main.scss 1:9       root stylesheet
remote: DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

running the suggested command wont work remote, as these codes are inside the downloaded template. I would love to get rid of minima, but seeing its a default template and pretty minimal, this needs fixing for more people. Whatever a default would be, more people stumble upon this problem right?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions