Deprecations
Hierarchy
- Deprecations
Properties
abs- percent
Deprecation for passing percentages to the Sass abs() function.
This deprecation became active in Dart Sass 1.65.0.
bogus- combinators
Deprecation for leading, trailing, and repeated combinators.
This deprecation became active in Dart Sass 1.54.0.
call- string
Deprecation for passing a string directly to meta.call().
This deprecation was active in the first version of Dart Sass.
color- module- compat
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 for function and mixin names beginning with –.
This deprecation became active in Dart Sass 1.76.0.
duplicate- var- flags
Deprecation for using !default or !global multiple times for one variable.
This deprecation became active in Dart Sass 1.62.0.
elseif
Deprecation for @elseif.
This deprecation became active in Dart Sass 1.3.2.
fs- importer- cwd
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 for passing invalid units to built-in functions.
This deprecation became active in Dart Sass 1.56.0.
import
Deprecation for
Import
rules.
This deprecation is not yet active, but will be soon.
moz- document
Deprecation for @-moz-document.
This deprecation became active in Dart Sass 1.7.2.
new- global
Deprecation for declaring new variables with !global.
This deprecation became active in Dart Sass 1.17.2.
null- alpha
Deprecation for passing null as alpha in the JS API.
This deprecation became active in Dart Sass 1.62.3.
relative- canonical
Deprecation for imports using relative canonical URLs.
This deprecation became active in Dart Sass 1.14.2.
slash- div
Deprecation for / operator for division.
This deprecation became active in Dart Sass 1.33.0.
strict- unary
Deprecation for ambiguous + and - operators.
This deprecation became active in Dart Sass 1.55.0.
user- authored
Used for any user-emitted deprecation warnings.
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
, orsilenceDeprecations
.