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

Remove primitives css tokens import from support package #2554

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

jonrohan
Copy link
Member

What are you trying to accomplish?

closes https://github.com/github/primer/issues/2875

Describe the bug

The @import '@primer/css/support/index.scss'; import is rendering duplicate CSS in all bundles on github. This line in the index file is importing from this file.

Screen.Recording.2023-11-20.at.10.28.01.AM.mov

Expected behavior

The support package ideally shouldn't be rendering any CSS. Because it's meant to be a Sass variable/mixin package it's imported everywhere in the codebase.

Can these changes ship as is?

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

@jonrohan jonrohan requested a review from a team as a code owner November 29, 2023 20:49
@jonrohan jonrohan requested a review from tobiasahlin November 29, 2023 20:49
Copy link

changeset-bot bot commented Nov 29, 2023

🦋 Changeset detected

Latest commit: 31543d5

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 Minor

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

@jonrohan jonrohan merged commit f0b0d20 into main Nov 30, 2023
12 checks passed
@jonrohan jonrohan deleted the remove_primitives_token_import branch November 30, 2023 23:02
@primer primer bot mentioned this pull request Nov 30, 2023
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.

2 participants