Skip to content

Deprecated functions warning at build (Dart Sass) #92

@robbykrlos

Description

@robbykrlos

On Enso 7.0.0 (but most likely they were present in 6.0.0), I get multiple "Deprecation warnings" when building the project with yarn build like :

88 │     @if lightness($color) > 96%
   │         ^^^^^^^^^^^^^^^^^
   ╵
    node_modules\bulma\sass\utilities\functions.sass 88:9           findLightColor()
    node_modules\bulma\sass\utilities\derived-variables.sass 26:17  @import
    node_modules\bulma\sass\utilities\_all.sass 6:9                 @import
    node_modules\bulma\bulma.sass 3:9                               @import
    node_modules\@enso-ui\themes\bulma\light-rtl.lazy.scss 9:9      root stylesheet

Deprecation Warning [color-functions]: darken() is deprecated. Suggestions:

color.scale($color, $lightness: -26.2886597938%)
color.adjust($color, $lightness: -15%)

More info: https://sass-lang.com/d/color-functions

Or:

 @import '@enso-ui/themes/bulma/variables';
  │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    node_modules\@enso-ui\menus\src\bulma\components\menu\MenuItem.vue 2:13  root stylesheet

|  Building for production...Deprecation Warning [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

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