-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(elements): update colors, layout, and motion packages with experimental Sass Modules #7546
feat(elements): update colors, layout, and motion packages with experimental Sass Modules #7546
Conversation
✔️ Deploy preview for carbon-elements ready! 🔨 Explore the source changes: a0cfdff 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/5ffe27ce34cc1800076fb554 😎 Browse the preview: https://deploy-preview-7546--carbon-elements.netlify.app |
❌ Deploy preview for carbon-components-react failed. 🔨 Explore the source changes: a0cfdff 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/5ffe27cea3ae5700077af067 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit b03b0b1 https://deploy-preview-7546--carbon-components-react.netlify.app |
Deploy preview for carbon-elements ready! Built with commit b03b0b1 |
Let me know if you have any questions @aledavila @tw15egan ! Noticed the build failing, will try and update the bundler check since it doesn't understand Sass Modules at the moment 👀 |
…joshblack/carbon into refactor/update-sass-module-entrypoints
Should be good after #7555 which uses |
…refactor/update-sass-module-entrypoints
Let me know if you have any questions @dakahn @aledavila ! |
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.
Not seeing any issues with a clean build, LGTM 👍 ✅
This is part of our exploration into Sass Modules, both to help with authoring Sass files but also to assist in compilation times.
This PR introduces the following changes:
colors/scss/module.scss
file tocolors/index.scss
. This allows us to reference the styles at@carbon/colors
which is the current preference for Sass Modules going forward@carbon/layout
to include an entrypoint and temporarymodules
folder@carbon/motion
to include an entrypoint@carbon/layout
and@carbon/motion
Changelog
New
Changed
scss/module.scss
toindex.scss
Removed