[wp-trac] [WordPress Trac] #62142: Sass Deprecation warnings during build process.

WordPress Trac noreply at wordpress.org
Wed Oct 2 02:34:33 UTC 2024


#62142: Sass Deprecation warnings during build process.
------------------------------+---------------------
 Reporter:  peterwilsoncc     |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  6.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  css
------------------------------+---------------------

Comment (by aslamdoctor):

 This is a recent deprecation from latest version of sass package.
 1. We have to either check for all the sass files for these deprecations
 and fix all one by one by using recommended method e.g.
 `color.adjust($color, $lightness: 7%)`

 2. Or we have to silence the warnings as mentioned here
 https://sass-lang.com/documentation/breaking-changes/legacy-js-api
 /#silencing-warnings
 We can do this inside Gruntfile.js

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62142#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list