-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Move primer to yarn #1937
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 primer to yarn #1937
Conversation
Rebuild assets
@benjaminwil @bartkamphorst I believe this solves all the styling issues @bartkamphorst discovered after having (prematurely) merged #1914. The problem was that some of our own styling from
If this approach seems sane, I'll move the new styling in |
Use nokogiri instead of regex in flaky test
Overall it seems to look okay. Two things I noticed straight away:
EDIT: This seems to be straightforwardly caused by the table styling being removed from
|
Thanks for catching! Re-added that styling.
Again thanks for catching. Not sure yet why. I've added the spinner issue to the todo for this PR. Apart from that issue, I think this is good to go. We may of course still discover slight differences in the styling in the future, but if they need to be addressed at all, it should be straightforward to fix them by looking at the changes in this PR. |
The problem with the spinner can be straightforwardly resolved by adding back the (Of course, that only restores the |
This reverts commit abf277c.
Ok, I'm merging this. This was more complicated than I hoped, and as I said there may be tiny style issues that I've missed. But I think it should be much easier to fix such issues now (also after #1915). Thanks for the feedback @benjaminwil and @bartkamphorst! |
Take 2. :)
It tuns out the 'product' component is necessary to style things like tables in the markdown body. However, this does not work neatly unless we import the primer components after importing our own
template.scss
. In turn, this caused primer to override some of our own styling fromtemplate.scss
. I have addressed this by identifying which parts oftemplate.scss
are superfluous, which need to be included before primer, and which need to be included after primer..markdown_body
styling to a separate file