-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Removing the rem() mixin and usages. Placing the computed values in place. #1541
Conversation
🦋 Changeset detectedLatest commit: 90a7e08 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me for the next major release.
Eventually the computed values like .375rem
can come from Primitives, but that's a bigger effort.
Yesss this looks good. Agree that we can refine this, but looks OK to ship as is ☀️ |
* Adding pre mode * Updating the workflows * Update README.md * Create proud-rules-wonder.md * Rename and move color mode variables out of base package (#1462) * Rename and move color mode variables out of base package * Create mighty-goats-teach.md * Add test to make sure support is never more than 0 * Update mighty-goats-teach.md * Update mighty-goats-teach.md * Remove test * Delete patch * Moving color modes to their own bundle (#1465) * Moving color modes to their own bundle * Create new-beers-peel.md * Removing the rem() mixin and usages. Placing the computed values in place. (#1541) * Removing the rem() mixin and usages. Placing the computed values in place. * Create flat-shirts-lay.md * Fixing stylelint issues * Fix more stylelint issue * Remove break-word from utilities (#1566) * Remove break-word from utilities * Create twelve-fireants-shave.md * Adding dark high contrast * Fixing mising color modes selectors * Remove pre.json if it exists * Fixing lint error * Removing pre mode Co-authored-by: simurai <[email protected]>
The
rem()
mixin is holding back the codebase from upgrading todart-sass
. #1452 (comment)node-sass
has reached end of life and is no longer supported by sass. But we can't migrate until we remove alla / b
math from the codebase. There's issues migrating this mixin so we'd like to remove it.I've searched for the places this mixin is used and replaced with the computed values for these marketing buttons. I'd like to put this in the next major release and then, if it's necessary, add to the dotcom codebase in case any code there uses the mixin.
@tobiasahlin @simurai do you see any problems with this plan?