Skip to content

Less 3.8 #9

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

Closed
wants to merge 9 commits into from
Closed

Less 3.8 #9

wants to merge 9 commits into from

Conversation

calvinjuarez
Copy link
Collaborator

@calvinjuarez calvinjuarez commented Jul 17, 2018

@seanCodes, this PR is 99% of the conversion to Less 3.7.

It's marked "Don't Merge" because there's a discrepancy in how certain each() loops execute vs SCSS's @each, at the moment (see changes to bootstrap.css in b2837df). I'll investigate that when I get a chance to put together a reduced test case and file a bug w/ Less.

I'm opening this PR to claim #7 and because the 3.5+ syntax is exciting! :P

npm audit fix output:
`fixed 13 of 13 vulnerabilities in 1921 scanned packages`
--strict-math has been deprecated and replaced by --math.  See less/less.js#3274
Still haven't updated for the grid breakpoints just yet, though some breakpoint loops have been written in anticipation of those updates.
There are 4 loops in mixins/_grid-framework.less that loop 'til a static number.  I'm not aware of any answer for that at the moment, but a plugin could be easily written that could just leverage `each()`.
@matthew-dean
Copy link

Ha, shit, @calvinjuarez, why didn't I look for this lol. Looks like I did this for no reason today: #12

@calvinjuarez
Copy link
Collaborator Author

@matthew-dean no worries. I've updated this one with your README and package.json updates, and the unquoting of the ~"calc(...)" variable values, so now the only difference is the maps, I think. (And Autoprefixer worked for me.) :p I also reviewed #12 so @seanCodes can see what's going on and choose how far from Sass/how into Less he wants this project to go.

@calvinjuarez calvinjuarez changed the title [Don't Merge] Less 3.7 Less 3.8 Nov 29, 2018
@calvinjuarez calvinjuarez mentioned this pull request Dec 6, 2018
@calvinjuarez
Copy link
Collaborator Author

Replaced by #13

@calvinjuarez calvinjuarez deleted the less3.7 branch December 6, 2018 00:03
@calvinjuarez
Copy link
Collaborator Author

👍 Should I close the other PR?

@matthew-dean Unless you're opposed to #13 for some reason, I think we can simplify by closing #12. Sorry for the confusion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants