Skip to content

Removing primer/octicons dependency and adding octicons styles directly#1356

Merged
jonrohan merged 2 commits intomainfrom
remove_octicons_dependency
Apr 26, 2021
Merged

Removing primer/octicons dependency and adding octicons styles directly#1356
jonrohan merged 2 commits intomainfrom
remove_octicons_dependency

Conversation

@jonrohan
Copy link
Copy Markdown
Member

This removes the dependency for @primer/octicons we were using it to import the one stylesheet, which seemed like overkill and increased our package size.

I'm also adding !important to our overflow: visible; property to avoid icon clipping.

@jonrohan jonrohan requested a review from colebemis April 23, 2021 15:58
Copy link
Copy Markdown
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.

🚀

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 23, 2021

🦋 Changeset detected

Latest commit: 3b7e5d8

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 Major

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

Copy link
Copy Markdown
Contributor

@simurai simurai left a comment

Choose a reason for hiding this comment

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

👍

@jonrohan jonrohan merged commit 00f5d87 into main Apr 26, 2021
@jonrohan jonrohan deleted the remove_octicons_dependency branch April 26, 2021 02:04
@primer-css primer-css mentioned this pull request Apr 26, 2021
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