Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecation messages for color arithmetic. #1135

Merged
merged 1 commit into from
Jun 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions spec/basic/16_hex_arithmetic/error
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
DEPRECATION WARNING on line 5 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#AbC plus 1` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 6 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#AbC plus #001` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 7 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#0000ff plus 1` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 8 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#0000ff plus #000001` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 9 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#00ffff plus #000101` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 11 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#000000 minus 1` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 12 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#000000 minus #000001` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 13 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#ffff00 plus #010100` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 14 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#101010 div 7` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 15 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#000 plus 0` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 16 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `10 minus #a2B` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 17 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `10 minus #aa22BB` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 18 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#000 minus #001` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 19 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#f0F plus #101` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 20 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#a2B plus 1` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 21 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `10 div #a2B` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 22 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `10 div #aa22BB` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 23 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#0a0a0a plus #010001` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING on line 24 of /sass/spec/basic/16_hex_arithmetic/input.scss:
The operation `#010000 plus white` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions
5 changes: 3 additions & 2 deletions spec/basic/16_hex_arithmetic/options.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
:ignore_for:
- dart-sass
:end_version: '3.5'
:warning_todo:
- libsass
10 changes: 10 additions & 0 deletions spec/colors/basic/error
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
DEPRECATION WARNING on line 5 of /sass/spec/colors/basic/input.scss:
The operation `red plus green` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING: Passing red, a non-string value, to unquote()
will be an error in future versions of Sass.
on line 8 of /sass/spec/colors/basic/input.scss
DEPRECATION WARNING on line 8 of /sass/spec/colors/basic/input.scss:
The operation `red plus green` is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions

DEPRECATION WARNING: Passing 0xf00, a non-string value, to unquote()
will be an error in future versions of Sass.
on line 9 of /sass/spec/colors/basic/input.scss
2 changes: 2 additions & 0 deletions spec/colors/basic/options.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
---
:end_version: '3.5'
:warning_todo:
- libsass
Loading