Skip to content
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

Switch source order for styleguide.css #869

Merged
merged 1 commit into from
Aug 21, 2019
Merged

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Aug 21, 2019

This switches the source order for Primer CSS styles and .com's styleguide.css.

Reasoning

.com's styleguide.css currently overrides the Primer CSS styles in our docs. Making it hard to move components from .com to Primer, see #862 (review). Switching the source order fixes that.

Concerns

Does this have any other side effects? I guess when trying to move Primer CSS styles to .com? But that should probably happen more rarely? 🤔

Also, it doesn't work when removing certain properties (instead overriding them). Maybe in that case it's better to refactor the whole component and use another name.

@simurai simurai added the docs label Aug 21, 2019
@simurai simurai requested a review from colebemis August 21, 2019 09:12
@vercel
Copy link

vercel bot commented Aug 21, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://primer-css-git-styleguide-source-order.primer.now.sh

Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Thanks for making this change!

@shawnbot
Copy link
Contributor

Works for me! Let's get a release branch going and merge into that.

@colebemis
Copy link
Contributor

@shawnbot Since this only affects the documentation site, does it need to be tied to a release?

@shawnbot
Copy link
Contributor

@shawnbot Since this only affects the documentation site, does it need to be tied to a release?

Nope, good call! Merging away! 🚀

@shawnbot shawnbot merged commit 6607f33 into master Aug 21, 2019
@shawnbot shawnbot deleted the styleguide-source-order branch August 21, 2019 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants