<?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: Leonardo Tononi</title>
    <description>The latest articles on DEV Community by Leonardo Tononi (@easaaa).</description>
    <link>https://dev.to/easaaa</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%2F320238%2F5bfa9c3a-d4b0-4430-95ac-062b2dc4cc4c.jpeg</url>
      <title>DEV Community: Leonardo Tononi</title>
      <link>https://dev.to/easaaa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/easaaa"/>
    <language>en</language>
    <item>
      <title>Why start using TailwindCss in 2021</title>
      <dc:creator>Leonardo Tononi</dc:creator>
      <pubDate>Sun, 11 Apr 2021 18:00:13 +0000</pubDate>
      <link>https://dev.to/easaaa/why-start-using-tailwindcss-in-2021-e5n</link>
      <guid>https://dev.to/easaaa/why-start-using-tailwindcss-in-2021-e5n</guid>
      <description>&lt;p&gt;Hi, this is Leonardo.&lt;/p&gt;

&lt;p&gt;I'm a simple human that tries to improve day by day, step by step. If it’s your first time here you can read who I am in this blog post &lt;a href="https://www.leonardotononi.com/blog/nice-to-meet-you"&gt;“Who am I”&lt;/a&gt;, &lt;strong&gt;otherwise skip this part.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;From their website we understand that TailwindCss is a utility first css framework. It allows us to write our style directly in the html. “Yes OK” you will say “but I have a thousand of questions!” Don’t worry, in the article I will try to answer everything you should evaluate to see if it is a right fit for your needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is and what are the advantages?
&lt;/h2&gt;

&lt;p&gt;Let’s get straight to the point. Why bother learning this new way of writing CSS? Well I’d start by saying it’s fucking fast! What do I mean by fast? Imagine no longer having to create separate files for component markups and its styles. Imagine no longer having to think of names for “Wrapper” or “WrapperOfWrapperOfWrapper”. Not having to continually import or export css variables. Imagine you can do it all in one line.&lt;/p&gt;

&lt;p&gt;Imagine being able to copy and paste entire structures of components already created by someone else, where you can apply your personal style in the blink of an eye. Imagine being able to focus primarily on creating the logic of your application.&lt;br&gt;
That is Tailwind.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why is it better than others?
&lt;/h2&gt;

&lt;p&gt;I have never really tried other css frameworks in the same way I tried Tailwind. But what I can tell you is that while others have a more defined and less easily customizable style, with tailwind everything remains in our hands, but at the same time it allows you to have a good level of predefined style guidelines.&lt;br&gt;
So if you are like me, you don’t have a strong knowledge of design, you can still create beautiful applications or web pages without compromise the unicity of your style.&lt;/p&gt;

&lt;p&gt;A site created with tailwind is difficult to detect at first sight, on the contrary the sites created with other frameworks have a more marked and recognizable imprint.&lt;/p&gt;

&lt;p&gt;I want to show you some example of what triggered my curiosity. &lt;br&gt;
Below an example of an easily integrated dark mode:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// tailwind.config.js
module.exports = {
  darkMode: ‘medium’,
  // …
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div className=“bg-white dark:bg-gray-800”&amp;gt;
  // .....
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Not to mention the media query, which can be integrated with a simple "md: text-white" to say "@media (min-width: 768px) {…}".&lt;br&gt;
In my humble opinion this is really cool and everything is so easily customizable.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Also, most Tailwind projects ship less than 10KB of CSS to the client.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why not just use CSS?
&lt;/h2&gt;

&lt;p&gt;Because Tailwind requires a minimal learning curve and  the documentation it’s really well done. Over time, it will make the creation of projects much easier and faster, without having to leave behind the flexibility of pure css.&lt;/p&gt;

&lt;p&gt;Furthermore, once you have decided to create a project with tailwind, it will always be possible to apply other types of css, like styled components.&lt;/p&gt;

&lt;h2&gt;
  
  
  Recap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Speed  up the creation and the design of any project&lt;/li&gt;
&lt;li&gt;Allows you to raise the bar of your style&lt;/li&gt;
&lt;li&gt;You can say goodbye to having to create fancy names for your components or Css variables = Easy &lt;/li&gt;
&lt;li&gt;Highly customizable&lt;/li&gt;
&lt;li&gt;Dev friendly, covers the real needs that a developer may have in 2021&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  EXTRA: some useful FREE resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://tailwindcomponents.com/"&gt;Tailwind CSS Components. Examples and templates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tailblocks.cc/"&gt;Tailblocks — Ready-to-use Tailwind CSS blocks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://merakiui.com/"&gt;Meraki UI Tailwindcss Components&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.tailwind-kit.com/"&gt;Tailwind UI KIT – 250 components and templates for React, VueJS and Angular.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>codenewbie</category>
      <category>tailwindcss</category>
      <category>webdev</category>
      <category>css</category>
    </item>
    <item>
      <title>8 Tips on how to improve your day as a developer.</title>
      <dc:creator>Leonardo Tononi</dc:creator>
      <pubDate>Thu, 25 Feb 2021 15:19:22 +0000</pubDate>
      <link>https://dev.to/easaaa/8-tips-on-how-to-improve-your-day-as-a-developer-1b0m</link>
      <guid>https://dev.to/easaaa/8-tips-on-how-to-improve-your-day-as-a-developer-1b0m</guid>
      <description>&lt;p&gt;Hi, this is Leonardo.&lt;/p&gt;

&lt;p&gt;I'm a simple human that tries to improve day by day, step by step. If it’s your first time here you can read who I am in this blog post &lt;a href="https://www.leonardotononi.com/blog/nice-to-meet-you"&gt;“Who am I”&lt;/a&gt;, &lt;strong&gt;otherwise skip this part.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What is this post about?
&lt;/h3&gt;

&lt;p&gt;Eight simple tips on how to structure your work day and your free time and why it matters.&lt;/p&gt;

&lt;h3&gt;
  
  
  What can you do?
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Don’t over plan&lt;/strong&gt;, thinking small and simple is the key to success. For example, trying to accomplish from 3 to 5 important tasks is enough. &lt;strong&gt;You are not running a sprint, it’s a marathon.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Only plan the week ahead of you, long term plans are not good because it’s hard to stick to them. Again, you are not running a sprint, it’s a marathon.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose something rewarding to do, but remember it is better to &lt;strong&gt;privilege healthy activities.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Exercise, interestingly, also helps new neurons survive. Exercise is by far, more effective than any drug on the market today to help you learn better. It benefits all of your vital organisms, not just your brain.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Try to stay focused when working, it's better to spend less time concentrating while &lt;strong&gt;ensuring quality&lt;/strong&gt;, than spending longer and more distracted hours working. Remember that every time you are distracted from your main task, it costs you more effort to return to the previous focused state.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is better to &lt;strong&gt;avoid your smartphone&lt;/strong&gt; while working / studying. I suggest using your phone time like a reward after ‘x’ time spent focusing. Also try to put your mobile phone in ‘do not disturb’ mode, it helps.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Be clear with yourself&lt;/strong&gt; with what you expect and want from your day. My suggestion is to write it down, and it doesn't matter if it’s on a paper or on a display, it’s useful to vacuum your mind from distractions.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;At the moment I’m using a minimal calendar app that keeps out noise that other calendar apps have, it’s called &lt;a href="https://teuxdeux.com/"&gt;Teux Deux&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sleep is an important&lt;/strong&gt; part of your learning and memory process. Sleep has also been shown to make a remarkable difference in your ability to figure out difficult problems and to understand what you're trying to learn.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;As always, drink more water.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Conclusion.
&lt;/h3&gt;

&lt;p&gt;What is key is that you need to prioritize and organize what matters to you, and then try to stick to your goals or, at least, &lt;strong&gt;try to follow a kind of plan.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sometimes it could become too hard to follow, but this is also normal, don’t worry and don’t be stressed about it.&lt;/p&gt;

&lt;p&gt;I'm new to this kind of blog post stuff, and I'm not an English native speaker, therefore I'm trying to keep everything simple.&lt;/p&gt;

&lt;p&gt;If you think I can improve this post I would be happy to see a comment from you on Twitter.&lt;/p&gt;

&lt;p&gt;Thanks a lot and see you around 🙃.&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
