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

feat: fontawesome 6 #969

Merged
merged 4 commits into from
Sep 25, 2024
Merged

feat: fontawesome 6 #969

merged 4 commits into from
Sep 25, 2024

Conversation

runnabro
Copy link
Member

PR App Fix RM-XYZ

🧰 Changes

Should be able to have this go live before the readme changes. Keeping the (no longer used) .fa classes should be enough for backwards compatibility.

🧬 QA & Testing

Copy link
Collaborator

@kellyjosephprice kellyjosephprice left a comment

Choose a reason for hiding this comment

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

LGTM? Wild that the snap needed updating

@runnabro
Copy link
Member Author

LGTM? Wild that the snap needed updating

Thanks! I had to update the text to change how the fa stuff would work :)

Copy link
Contributor

@rafegoldberg rafegoldberg left a comment

Choose a reason for hiding this comment

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

Had a few questions, but otherwise these changes look good to me! 🤘

components/Accordion/index.tsx Show resolved Hide resolved
@@ -102,7 +102,7 @@
}
@mixin calloutCustomIcons($R: callout) {
--emoji: 1em;
--icon-font: FontAwesome;
--icon-font: var(--fa-style-family, 'Font Awesome 6 Pro');
Copy link
Contributor

@rafegoldberg rafegoldberg Sep 25, 2024

Choose a reason for hiding this comment

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

Wait, will this --fa-style-family var allow users to customize the FontAwesome style automagically? And if so, why do we need to add the extra class elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes! This is one way you can customize the icon style, but it would apply across all uses of FA. Would make it harder to mix-and-match. It’s also probably lesser known, since they don’t make it very prominent.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh sick, so much cleaner than having to add a million extra classes.

@runnabro runnabro merged commit 6360191 into next Sep 25, 2024
13 checks passed
@runnabro runnabro deleted the migrate-fontawesome-6 branch September 25, 2024 18:41
rafegoldberg pushed a commit that referenced this pull request Sep 25, 2024
## Version 7.6.0

### ✨ New & Improved

* fontawesome 6 ([#969](#969)) ([6360191](6360191))

<!--SKIP CI-->
@rafegoldberg
Copy link
Contributor

This PR was released!

🚀 Changes included in v7.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants