Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compass & Sass Deprecation warning

Tags:

compass-sass

I just installed and Compass & Sass as described here.

I got the following warning when I ran compass watch for the first time. What exactly does it mean? What should I do to fix it, do I need to do anything?

$ (master) compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
DEPRECATION WARNING on line 87 of /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified
in a future version of Sass. To preserve the current behavior, use quotes:

  unquote('"$moz-"#{$experimental-support-for-mozilla} "$webkit-"#{$experimental-support-for-webkit} "$opera-"#{$experimental-support-for-opera} "$microsoft-"#{$experimental-support-for-microsoft} "$khtml-"#{$experimental-support-for-khtml}')

You can use the sass-convert command to automatically fix most cases.

DEPRECATION WARNING on line 92 of /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified
in a future version of Sass. To preserve the current behavior, use quotes:

  unquote('"$ie6-"#{$legacy-support-for-ie6} "$ie7-"#{$legacy-support-for-ie7} "$ie8-"#{$legacy-support-for-ie8}')

You can use the sass-convert command to automatically fix most cases.

    write css/styles.css
like image 527
Holly Avatar asked Mar 11 '16 20:03

Holly


People also ask

Is there a compass on my phone?

Does your Android phone have a magnetometer? Yup, chances are that it does as most Android devices do. Even if you have an old or a cheap phone, there's likely a magnetometer inside of it. And, there are a lot of apps out there that make use of that magnetometer to display a digital compass on your phone's screen.

What is compass in Singapore?

Singapore Complementary Assessment (COMPASS) Framework. This framework aims to evaluate an EP application based on both employee and employer-related attributes and a minimum of 40 points will be required to pass.

How does the compass work on iPhone?

Your bearings, coordinates, and elevation are shown at the bottom of the screen. For accurate bearings, hold iPhone flat to align the crosshairs at the center of the compass. To lock your current direction, tap the compass dial. A red band appears when you're off course.

Is there a online compass?

Online Compass. Shows direction relative to the geographic cardinal directions north, south, east, and west.


1 Answers

To fix the error message, just change the line 87 from your "_deprecated-support.scss" file to this:

    // A debug tool for checking browser support
@mixin debug-support-matrix($experimental: true, $ie: true) {
    @debug '#{"$moz-"}$experimental-support-for-mozilla'
                 '#{"$webkit-"}$experimental-support-for-webkit'
                 '#{"$opera-"}$experimental-support-for-opera'
                 '#{"$microsoft-"}$experimental-support-for-microsoft'
                 '#{"$khtml-"}$experimental-support-for-khtml';
    @debug '#{"$ie6-"}$legacy-support-for-ie6'
                 '#{"$ie7-"}$legacy-support-for-ie7'
                 '#{"$ie8-"}$legacy-support-for-ie8';
}

The file can be found at your /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss

like image 154
Solidus_BR Avatar answered Sep 30 '22 07:09

Solidus_BR