-
Notifications
You must be signed in to change notification settings - Fork 234
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
(refactor) Ward: Refactor styling imports and use Carbon spacing tokens #1352
Conversation
This PR refactors some left over some CSS carbon spacing module imports to import from `@carbon/layout` instead of `@carbon/styles/scss/spacing`. It also replaces CSS imports from the vars library in the framework that use the old `@import` directive, replacing them with the `@use` directive.
height: layout.$spacing-05; | ||
width: layout.$spacing-05; |
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.
layout.$spacing-05
=== 16px. I've bumped the values up by a pixel because 15px seems odd to me. Hopefully that's ok.
Size Change: -40 B (0%) Total Size: 6.49 MB ℹ️ View Unchanged
|
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.
LGTM!
Requirements
Summary
This PR refactors some left over some CSS carbon spacing module imports to import from
@carbon/layout
instead of@carbon/styles/scss/spacing
. It also replaces CSS imports from the vars library in the framework that use the old@import
directive, replacing them with the@use
directive.Screenshots
Related Issue
Other