-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
• See https://github.com/sindresorhus/grunt-sass/compare/v1.2.`...v2.0.0 • Bumps node-sass from v3.7.0 to v4.0.0 • See sass/node-sass@v3.7.0...v4.0.0 • Updates compiled `bp-templates/bp-nouveau/css/buddypress.css`
• See gruntjs/grunt-contrib-uglify@v2.0.0...v3.0.1 • Bumps `uglify-js` to 3.0.4
• See gruntjs/grunt-contrib-cssmin@v1.0.0...v2.2.0 • Updates `clean-css` to v4.1.1
Once the tests finish this should be good to merge, all the packages are now up to date |
Once merged, you'll need to run |
One question, why the changes to the compiled css file for hex colours? The keyword one is odd as that's a mixin and programmatically generated, not sure why that's happening, can hazard a guess though. |
As the calculated colour changes were minor I presumed it was due to updates in the node-sass and libsass libraries and I didn't go looking for specifics for this case. The keyword ag gray
bp-templates/bp-nouveau/css/buddypress-rtl.css
3878: color: gray;
bp-templates/bp-nouveau/css/buddypress.css
3882: color: gray; In the SCSS files there 62 instances in 20 files of Possibly related to this issue sass/libsass#2140 Does any of that make sense to you @hnla ? |
@ntwb this definitely appears to be a bug ( it also may be me being daft in how I'm setting the default color value in the function which I can test later) in how libsass is compiling values as these seem to be all instances where a sass function is in use to find a value to output, I'll check that libsass issue later. I spent ages confused trying to find use of the keyword grey/gray in .sass files until realising there weren't any :)
Yep they're all variable names, probably my bad in using the English spelling of 'grey' ( how can there be two :( ) Big thanks for highlighting this it passed me by completely. I'm guessing that previously the keyword use in the compiled files wasn't being caught by the linter?. Having a different value generated for the percentage darken/lighten functions is a bit odd but as you say it's very minor variance unlikely to cause obvious visual change. I'll merge this PR now and delve deeper later. |
typical! Now when I test the mixin and state a colour, then remove again to replicate issue it works properly to output a hex value. ok the more I look at my mixin function that tries to be smart and set backgrounds and text color based on each other values or defaults I think my logic is flawed and that this isn't a bug in libsas as such more a case that I need to take care defining vars. Keyword does appear under some circumstances when it shouldn't, but haven't figured exact steps yet. |
Ha, for what it's worth libsass supports both spellings of Thanks for merging and the follow up explanations 👍 |
No description provided.