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

Include primitives.css in the main primer.css export #2657

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Jul 8, 2024

What are you trying to accomplish?

Fixes #2648

What approach did you choose and why?

This broke because in #2634 I converted a lot of $spacer-1 sass variables to CSS variables before. We never included the primitives in the main primer.css file before. So it was harder to notice that we were missing them. I think it makes sense to include them in the main primer.css file so that people don't have to include an extra file to get the primitives.

Can these changes ship as is?

  • Yes, this PR does not depend on additional changes. 🚢

Copy link

changeset-bot bot commented Jul 8, 2024

🦋 Changeset detected

Latest commit: 6377a32

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Patch

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

@github-actions github-actions bot temporarily deployed to Storybook Preview July 8, 2024 20:55 Inactive
@jonrohan jonrohan changed the title Update index.scss Include primitives.css in the main primer.css export Jul 8, 2024
@jonrohan jonrohan marked this pull request as ready for review July 8, 2024 21:42
@jonrohan jonrohan requested a review from a team as a code owner July 8, 2024 21:42
@jonrohan jonrohan requested a review from mperrotti July 8, 2024 21:42
@jonrohan jonrohan requested a review from langermank July 8, 2024 21:42
@github-actions github-actions bot temporarily deployed to Storybook Preview July 8, 2024 21:44 Inactive
@jonrohan jonrohan merged commit b87c379 into main Jul 8, 2024
12 checks passed
@jonrohan jonrohan deleted the import-primitives branch July 8, 2024 22:13
@primer primer bot mentioned this pull request Jul 8, 2024
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.

Primitives variables missing in bundled css
2 participants