Deprecations

All of the deprecation types currently used by Sass.

Any of these IDs or the deprecation objects they point to can be passed to fatalDeprecations, futureDeprecations, or silenceDeprecations.

Hierarchy

  • Deprecations

Properties

abs-percent: Deprecation<"abs-percent", DeprecationStatus>

Deprecation for passing percentages to the Sass abs() function.

This deprecation became active in Dart Sass 1.65.0.

bogus-combinators: Deprecation<"bogus-combinators", DeprecationStatus>

Deprecation for leading, trailing, and repeated combinators.

This deprecation became active in Dart Sass 1.54.0.

call-string: Deprecation<"call-string", DeprecationStatus>

Deprecation for passing a string directly to meta.call().

This deprecation was active in the first version of Dart Sass.

color-module-compat: Deprecation<"color-module-compat", DeprecationStatus>

Deprecation for using color module functions in place of plain CSS functions.

This deprecation became active in Dart Sass 1.23.0.

css-function-mixin: Deprecation<"css-function-mixin", DeprecationStatus>

Deprecation for function and mixin names beginning with –.

This deprecation became active in Dart Sass 1.76.0.

duplicate-var-flags: Deprecation<"duplicate-var-flags", DeprecationStatus>

Deprecation for using !default or !global multiple times for one variable.

This deprecation became active in Dart Sass 1.62.0.

elseif: Deprecation<"elseif", DeprecationStatus>

Deprecation for @elseif.

This deprecation became active in Dart Sass 1.3.2.

fs-importer-cwd: Deprecation<"fs-importer-cwd", DeprecationStatus>

Deprecation for using the current working directory as an implicit load path.

This deprecation became active in Dart Sass 1.73.0.

function-units: Deprecation<"function-units", DeprecationStatus>

Deprecation for passing invalid units to built-in functions.

This deprecation became active in Dart Sass 1.56.0.

import: Deprecation<"import", DeprecationStatus>

Deprecation for

Import

rules.

This deprecation is not yet active, but will be soon.

moz-document: Deprecation<"moz-document", DeprecationStatus>

Deprecation for @-moz-document.

This deprecation became active in Dart Sass 1.7.2.

new-global: Deprecation<"new-global", DeprecationStatus>

Deprecation for declaring new variables with !global.

This deprecation became active in Dart Sass 1.17.2.

null-alpha: Deprecation<"null-alpha", DeprecationStatus>

Deprecation for passing null as alpha in the JS API.

This deprecation became active in Dart Sass 1.62.3.

relative-canonical: Deprecation<"relative-canonical", DeprecationStatus>

Deprecation for imports using relative canonical URLs.

This deprecation became active in Dart Sass 1.14.2.

slash-div: Deprecation<"slash-div", DeprecationStatus>

Deprecation for / operator for division.

This deprecation became active in Dart Sass 1.33.0.

strict-unary: Deprecation<"strict-unary", DeprecationStatus>

Deprecation for ambiguous + and - operators.

This deprecation became active in Dart Sass 1.55.0.

user-authored: Deprecation<"user-authored", "user">

Used for any user-emitted deprecation warnings.