I'm currently in the process of migrating an old web project that previously used Compass for SCSS compilation to now use node-sass, as Compass relies on Ruby and hasn't been updated in several years.
Within one of the SCSS files, there are references to the 'image-width' function which was a feature supported by Compass:
padding-left: $message-box-icon-padding * 2 + image-width('messages/loading.gif');
width: image-width('messages/loading.gif');
height: image-width('messages/loading.gif');
Luckily, there are only three instances of this and it appears that the third should have actually been image-height
.
What would be the appropriate replacement for these 'image-width' calls?