<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Harsh Patel</title>
    <description>The latest articles on Forem by Harsh Patel (@coderc).</description>
    <link>https://forem.com/coderc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F604846%2Fe67ed1fa-9c33-4a2e-b9e7-850db4809767.png</url>
      <title>Forem: Harsh Patel</title>
      <link>https://forem.com/coderc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/coderc"/>
    <language>en</language>
    <item>
      <title>How to add external fonts with Tailwind CSS and ReactJS</title>
      <dc:creator>Harsh Patel</dc:creator>
      <pubDate>Sat, 19 Jun 2021 06:27:53 +0000</pubDate>
      <link>https://forem.com/coderc/how-to-add-external-fonts-with-tailwind-css-and-reactjs-4h4g</link>
      <guid>https://forem.com/coderc/how-to-add-external-fonts-with-tailwind-css-and-reactjs-4h4g</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Step One - Install Tailwind CSS&lt;/strong&gt;&lt;br&gt;
Follow steps from &lt;a href="https://tailwindcss.com/docs/guides/create-react-app"&gt;Official Website&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Step Two - Import fonts in HTML&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;link rel="preconnect" href="https://fonts.gstatic.com" /&amp;gt;
&amp;lt;link href="https://fonts.googleapis.com/css2family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;amp;display=swap" rel="stylesheet"/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step Three - Edit tailwind.config.js&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const defaultTheme = require("tailwindcss/defaultTheme");

module.exports = {
    purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
    darkMode: false, // or 'media' or 'class'
    theme: {
        extend: {
            fontFamily: {
                sans: ["Poppins", ...defaultTheme.fontFamily.sans],
            },
        },
    },
    variants: {
        extend: {},
    },
    plugins: [],
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>tailwindcss</category>
      <category>react</category>
      <category>css</category>
      <category>googlefont</category>
    </item>
    <item>
      <title>Customise Ubuntu Terminal</title>
      <dc:creator>Harsh Patel</dc:creator>
      <pubDate>Fri, 07 May 2021 16:50:45 +0000</pubDate>
      <link>https://forem.com/coderc/customise-ubuntu-terminal-1jca</link>
      <guid>https://forem.com/coderc/customise-ubuntu-terminal-1jca</guid>
      <description>&lt;p&gt;&lt;strong&gt;Install zsh&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;sudo apt install zsh -y&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Download oh-my-zsh&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf"&gt;Download custom font&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install powerlevel10k&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install Auto suggestions&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
