<?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>DEV Community: Akinbobola Emmanuel</title>
    <description>The latest articles on DEV Community by Akinbobola Emmanuel (@akinsdev).</description>
    <link>https://dev.to/akinsdev</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%2F1047249%2F5030dc36-72da-4294-8ee8-ad932c37efd3.png</url>
      <title>DEV Community: Akinbobola Emmanuel</title>
      <link>https://dev.to/akinsdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/akinsdev"/>
    <language>en</language>
    <item>
      <title>😋How I style Hanko components‎😃</title>
      <dc:creator>Akinbobola Emmanuel</dc:creator>
      <pubDate>Tue, 31 Oct 2023 20:42:36 +0000</pubDate>
      <link>https://dev.to/akinsdev/how-i-style-hanko-components-4njg</link>
      <guid>https://dev.to/akinsdev/how-i-style-hanko-components-4njg</guid>
      <description>&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;This tutorial is about how I styled hanko components while working on a project which I integrated hanko authentication with.&lt;br&gt;
&lt;a href="https://i.giphy.com/media/9pZw57AyqOHy47oSZq/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/9pZw57AyqOHy47oSZq/giphy.gif" width="400" height="400"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Hanko Auth
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.hanko.io/"&gt;Hanko&lt;/a&gt; is an open source authentication solution for modern apps.&lt;br&gt;
It also provides beautiful customizable components, SDKs, and APIs to power your login and user management.&lt;/p&gt;

&lt;p&gt;Hanko is built for passkeys – a new way to sign in that works completely without passwords. By using the security capabilities of your devices like fingerprint or face recognition, passkeys are more secure and are easier to use than both passwords and all current 2-factor authentication methods.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/xSM46ernAUN3y/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/xSM46ernAUN3y/giphy.gif" width="245" height="256"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Custom CSS Variables
&lt;/h2&gt;

&lt;p&gt;To style hanko components, we use the make use of hanko's &lt;a href="https://github.com/teamhanko/hanko/blob/main/frontend/elements/README.md#css-variables"&gt;custom css variables&lt;/a&gt;. I'd recommend going through them before continuing this tutorial.&lt;/p&gt;

&lt;p&gt;Once you're done integrating hanko with your project(topic for my upcoming tutorial), go to your css file and paste the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;hanko-auth {
  --color: rgb(255, 255, 255) !important;
  --color-shade-1: #d6d6d6;
  --font-family: 'Montserrat', sans-serif;
  --background-color: #111827;
  --headline1-font-size: 30px;
  --headline1-font-weight: 600;
}

hanko-profile {
  --font-family: 'Montserrat', sans-serif;
  --headline1-font-size: 30px;
  --headline1-font-weight: 600;
}

hanko-auth, hanko-profile::part(button):hover {
  color: black
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Don't forget to import Montserrat from google font. I chose this font because it is the font I used in the entire project.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&amp;amp;display=swap');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also customize and change the import to suit your application font.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Make sure your background color is &lt;code&gt;#d6d6d6&lt;/code&gt; so it matches the hanko component you're styling&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once you are done, you should have something like this in your css file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&amp;amp;display=swap');

hanko-auth {
  --color: rgb(255, 255, 255) !important;
  --color-shade-1: #d6d6d6;
  --font-family: 'Montserrat', sans-serif;
  --background-color: #111827;
  --headline1-font-size: 30px;
  --headline1-font-weight: 600;
}

hanko-profile {
  --font-family: 'Montserrat', sans-serif;
  --headline1-font-size: 30px;
  --headline1-font-weight: 600;
}

hanko-auth, hanko-profile::part(button):hover {
  color: black
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Result
&lt;/h2&gt;

&lt;p&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IV51icnL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gulp34933y1xeh066h6d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IV51icnL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gulp34933y1xeh066h6d.png" alt="Image description" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mgiLWUeh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tphw5zecf3ecsifa9nhl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mgiLWUeh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tphw5zecf3ecsifa9nhl.png" alt="Image description" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cfmJdGdQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z6us3jpzmstycjb97pyv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cfmJdGdQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z6us3jpzmstycjb97pyv.png" alt="Image description" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--a5t8judb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o2psjdf97s69ef1dkzd9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--a5t8judb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o2psjdf97s69ef1dkzd9.png" alt="Image description" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🥳Congratulations on making it to the end of this tutorial 🎉&lt;br&gt;
&lt;a href="https://i.giphy.com/media/ncTvVeWqvnNu4lZQIH/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/ncTvVeWqvnNu4lZQIH/giphy.gif" width="480" height="264"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In my next tutorial, I'll explain how to integrate hanko auth with your Nextjs project. See ya soon🚗 &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>hanko</category>
      <category>css</category>
      <category>design</category>
    </item>
    <item>
      <title>#FIRSTPOST</title>
      <dc:creator>Akinbobola Emmanuel</dc:creator>
      <pubDate>Fri, 17 Mar 2023 18:20:41 +0000</pubDate>
      <link>https://dev.to/akinsdev/firstpost-238b</link>
      <guid>https://dev.to/akinsdev/firstpost-238b</guid>
      <description>&lt;p&gt;Hello World!&lt;/p&gt;

</description>
      <category>firstpost</category>
    </item>
  </channel>
</rss>
