-
Notifications
You must be signed in to change notification settings - Fork 115
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
Move blankslate
styles to PVC
#1584
Conversation
🦋 Changeset detectedLatest commit: 70a2a54 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 |
@@ -3,3 +3,4 @@ | |||
@import "./alpha/banner.pcss"; | |||
@import './alpha/segmented_control.pcss'; | |||
@import "./beta/button.pcss"; | |||
@import "./beta/blankslate.pcss"; |
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.
If we import it here (to be used in Lookbook), I guess we'll have to expand the import on dotcom. Like https://github.com/github/github/pull/245966.
Or an alternative would be to not import blankslate
here, but update the Lookbook import to something like:
- *= require @primer/css/dist/blankslate.css
+ *= require ../../../../../app/components/primer/beta/blankslate.css
But I haven't figured out the exact relative path.
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.
nvm.. We decided to not expand the PVC imports on dotcom. It might cause regression changing the source order. But we'll have to do that eventually anyways.
Description
This is part of #1342 and adds the
blankslate
styles from PCSS. There should be no visual changes. See this commit a263494 for the diff of migrating from.scss
to.pcss
.👀 Preview
Closes https://github.com/github/primer/issues/1497
Integration
Yes, this line should be removed on dotcom:
- @import '@primer/css/blankslate/blankslate.scss';
Merge checklist
Added/updated testsAdded/updated documentationAdded/updated previewsIf you can't spot a difference 👉 good!