Skip to content

Commit

Permalink
Add yarn add section for font awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
kangaree committed Nov 4, 2024
1 parent 52d8644 commit b5dd51d
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ Integrating Font Awesome with Playbook ensures that you have access to these ben
source "https://token:[email protected]/basic/fontawesome-pro/ruby/" do
gem "font-awesome-pro-sass", "6.2.0"
end</code></pre>
<strong>Free:</strong>
<p>If you prefer, you can install with JavaScript:</p>
<pre><code class="sh">FONTAWESOME_PACKAGE_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX yarn add @fortawesome/fontawesome-pro</code></pre>
<strong>Free:</strong>
<p><em>Currently only <a href="https://fontawesome.com/search?o=r&m=free&s=regular">Free Regular</a> icons are supported in our icon component structure.</em></p>

<pre><code class="rb"># app/assets/stylesheets/application.scss
Expand All @@ -97,6 +99,9 @@ Integrating Font Awesome with Playbook ensures that you have access to these ben
gem "font-awesome-pro-sass", "6.2.0"
end</code></pre>

<p>If you prefer, you can install with JavaScript:</p>
<pre><code class="sh">yarn add @fortawesome/fontawesome-free</code></pre>

<strong>4.</strong> Bundle all the things!

<pre><code class="sh">bundle install</code></pre>
Expand Down

0 comments on commit b5dd51d

Please sign in to comment.