<?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: Sebastián Farías</title>
    <description>The latest articles on DEV Community by Sebastián Farías (@sfarias051).</description>
    <link>https://dev.to/sfarias051</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%2F20552%2F960e15b4-e890-4e0f-b539-64c3a7f64b01.jpg</url>
      <title>DEV Community: Sebastián Farías</title>
      <link>https://dev.to/sfarias051</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sfarias051"/>
    <language>en</language>
    <item>
      <title>How to change the terminal style in VSCode in an easy way</title>
      <dc:creator>Sebastián Farías</dc:creator>
      <pubDate>Tue, 13 Aug 2019 02:00:45 +0000</pubDate>
      <link>https://dev.to/sfarias051/how-to-change-the-terminal-style-in-vscode-in-an-easy-way-5139</link>
      <guid>https://dev.to/sfarias051/how-to-change-the-terminal-style-in-vscode-in-an-easy-way-5139</guid>
      <description>&lt;p&gt;I just required to change the look for the integrated terminal, and I just figured out how easy is this.&lt;/p&gt;

&lt;p&gt;So…. here you have a happy walk around to do it 🙂 &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to the settings (In VSCode obviously)

&lt;ul&gt;
&lt;li&gt;On Windows/Linux - &lt;strong&gt;File &amp;gt; Preferences &amp;gt; Settings&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;On macOS - &lt;strong&gt;Code &amp;gt; Preferences &amp;gt; Settings&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Shortcut (⌘,)&lt;/li&gt;
&lt;li&gt;Search (⇧⌘P) → “Preferences: Open Settings”&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Search for "workbench: color customizations" and open the &lt;strong&gt;settings.json&lt;/strong&gt; file&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Edit or Paste your configuration under &lt;strong&gt;workbench.colorCustomizations&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://code.visualstudio.com/api/references/theme-color" rel="noopener noreferrer"&gt;https://code.visualstudio.com/api/references/theme-color&lt;/a&gt;
```json
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;"workbench.colorCustomizations": {&lt;br&gt;
  "terminal.background":"#1D2021",&lt;br&gt;
  "terminal.foreground":"#A89984",&lt;br&gt;
  "terminalCursor.background":"#A89984",&lt;br&gt;
  "terminalCursor.foreground":"#A89984",&lt;br&gt;
  "terminal.ansiBlack":"#1D2021",&lt;br&gt;
  "terminal.ansiBlue":"#0D6678",&lt;br&gt;
  "terminal.ansiBrightBlack":"#665C54",&lt;br&gt;
  "terminal.ansiBrightBlue":"#0D6678",&lt;br&gt;
  "terminal.ansiBrightCyan":"#8BA59B",&lt;br&gt;
  "terminal.ansiBrightGreen":"#95C085",&lt;br&gt;
  "terminal.ansiBrightMagenta":"#8F4673",&lt;br&gt;
  "terminal.ansiBrightRed":"#FB543F",&lt;br&gt;
  "terminal.ansiBrightWhite":"#FDF4C1",&lt;br&gt;
  "terminal.ansiBrightYellow":"#FAC03B",&lt;br&gt;
  "terminal.ansiCyan":"#8BA59B",&lt;br&gt;
  "terminal.ansiGreen":"#95C085",&lt;br&gt;
  "terminal.ansiMagenta":"#8F4673",&lt;br&gt;
  "terminal.ansiRed":"#FB543F",&lt;br&gt;
  "terminal.ansiWhite":"#A89984",&lt;br&gt;
  "terminal.ansiYellow":"#FAC03B"&lt;br&gt;
}&lt;/p&gt;


&lt;/li&gt;

&lt;/ol&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
After that little change, you can check your integrated terminal in VS Code
![Integrated Terminal VSCode](https://paper-attachments.dropbox.com/s_BB4D438C0BD300F9046363852C7E5AEEFC644AC076498F4495212D2CD4CFEFF9_1565661101879_Ex.png)




You can find several predefined templates here:
https://glitchbone.github.io/vscode-base16-term/#/



&amp;gt;https://code.visualstudio.com/docs/getstarted/settings
&amp;gt;
&amp;gt;https://code.visualstudio.com/api/references/theme-color
&amp;gt;
&amp;gt;https://glitchbone.github.io/vscode-base16-term/#/

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>vscode</category>
      <category>style</category>
      <category>terminal</category>
    </item>
    <item>
      <title>How to create adaptive icons for Android using Android Studio</title>
      <dc:creator>Sebastián Farías</dc:creator>
      <pubDate>Wed, 19 Sep 2018 12:41:44 +0000</pubDate>
      <link>https://dev.to/sfarias051/how-to-create-adaptive-icons-for-android-using-android-studio-459h</link>
      <guid>https://dev.to/sfarias051/how-to-create-adaptive-icons-for-android-using-android-studio-459h</guid>
      <description>&lt;p&gt;I have found myself with an issue on my android applications not been able to use adaptive icons, resulting in ugly app icons and strange shapes in different launchers, so... the solution was create adaptive icons and works perfectly. 🙂 &lt;/p&gt;

&lt;p&gt;On API's &amp;gt; 26 android implements adaptive icons, is possible that this causes issues on app icon in existing applications, just like the following example.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sobvAIZ0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_E5BDCE34FA744C8B9CF5B8D37F689ADCFA70DD76E310D78941E0487F015653CD_1537327485177_Screen%2BShot%2B2018-09-19%2Bat%2B00.24.20.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sobvAIZ0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_E5BDCE34FA744C8B9CF5B8D37F689ADCFA70DD76E310D78941E0487F015653CD_1537327485177_Screen%2BShot%2B2018-09-19%2Bat%2B00.24.20.png" alt="Example: Old app icons" title="Old app icons"&gt;&lt;/a&gt; &lt;/p&gt;
Example: Old app icons



&lt;p&gt;To avoid this is necessary to create an adaptive icon. To do so, you need the following assets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Image icon without background, example below (foreground)&lt;/li&gt;
&lt;li&gt;Color background&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IionBI2d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537312779083_baseline_directions_bike_black_48.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IionBI2d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537312779083_baseline_directions_bike_black_48.png" alt="Foreground icon image" title="Foreground icon image"&gt;&lt;/a&gt;&lt;/p&gt;
Foreground icon image



&lt;p&gt;With this elements you need to follow these steps to generate the icon with the Image Asset Studio.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the project in Android Studio&lt;/li&gt;
&lt;li&gt;Select the app folder&lt;/li&gt;
&lt;li&gt;Go to  File → New → Image Asset&lt;/li&gt;
&lt;li&gt;On "Foreground Layer" select the provided image and resize in order to get the proper aspect for the icon&lt;/li&gt;
&lt;li&gt;On “Background Layer" use the background provided&lt;/li&gt;
&lt;li&gt;Click on Next button and then Finish&lt;/li&gt;
&lt;li&gt;After that, the icons are created on the "mipmap-* * * *" folder&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MRNRZqq3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537313441920_Screen%2BShot%2B2018-09-18%2Bat%2B20.26.25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MRNRZqq3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537313441920_Screen%2BShot%2B2018-09-18%2Bat%2B20.26.25.png" alt="Foreground layer configuration" title="Foreground layer configuration"&gt;&lt;/a&gt;&lt;/p&gt;
Foreground layer configuration



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fTYSHeGH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537313451765_Screen%2BShot%2B2018-09-18%2Bat%2B20.30.07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fTYSHeGH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537313451765_Screen%2BShot%2B2018-09-18%2Bat%2B20.30.07.png" alt="Background layer configuarion" title="Background layer configuarion"&gt;&lt;/a&gt;&lt;/p&gt;
Background layer configuarion



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NxBZvOka--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537313504996_Screen%2BShot%2B2018-09-18%2Bat%2B20.31.35.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NxBZvOka--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537313504996_Screen%2BShot%2B2018-09-18%2Bat%2B20.31.35.png" alt="Last screen and creation of assets" title="Last screen and creation of assets"&gt;&lt;/a&gt;&lt;/p&gt;
Last screen and creation of assets



&lt;p&gt;You need to add the new rounded icons to the respective roundIcon option on the AndroidManifest.xml&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;    &lt;span class="nt"&gt;&amp;lt;application&lt;/span&gt;
        &lt;span class="err"&gt;...&lt;/span&gt;
        &lt;span class="na"&gt;android:icon=&lt;/span&gt;&lt;span class="s"&gt;"@mipmap/ic_launcher"&lt;/span&gt;
        &lt;span class="na"&gt;android:roundIcon=&lt;/span&gt;&lt;span class="s"&gt;"@mipmap/ic_launcher_round"&lt;/span&gt;
        &lt;span class="err"&gt;...&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/application&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After apply the changes. The app icon will look according to the the guidelines of android for adaptive icons.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ubm3UBVK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_E5BDCE34FA744C8B9CF5B8D37F689ADCFA70DD76E310D78941E0487F015653CD_1537327521464_Screen%2BShot%2B2018-09-19%2Bat%2B00.25.03.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ubm3UBVK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_E5BDCE34FA744C8B9CF5B8D37F689ADCFA70DD76E310D78941E0487F015653CD_1537327521464_Screen%2BShot%2B2018-09-19%2Bat%2B00.25.03.png" alt="Example: Android 9, API 28 stock launcher" title="Example: Android 9, API 28 stock launcher"&gt;&lt;/a&gt;&lt;/p&gt;
Example: Android 9, API 28 stock launcher



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KO5Q90q3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537317665511_Screen%2BShot%2B2018-09-18%2Bat%2B21.37.22.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KO5Q90q3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_4E9831D4455D570AE14137599E816F77C0D9972382FFC988D0AB1312B7DF216A_1537317665511_Screen%2BShot%2B2018-09-18%2Bat%2B21.37.22.png" alt="Example: Android 7.0, API 24, Smart Launcher" title="Example: Android 7.0, API 24, Smart Launcher"&gt;&lt;/a&gt;&lt;/p&gt;
Example: Android 7.0, API 24, Smart Launcher






&lt;blockquote&gt;
&lt;p&gt;All the info was obtained from the official android information &lt;br&gt;
&lt;a href="https://developer.android.com/"&gt;https://developer.android.com/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive"&gt;https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive&lt;/a&gt;&lt;br&gt;
&lt;a href="https://developer.android.com/studio/write/image-asset-studio#create-adaptive"&gt;https://developer.android.com/studio/write/image-asset-studio#create-adaptive&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;🙂 &lt;/p&gt;

</description>
      <category>android</category>
      <category>design</category>
    </item>
    <item>
      <title>Hi, I'm Sebastián Farí as</title>
      <dc:creator>Sebastián Farías</dc:creator>
      <pubDate>Thu, 29 Jun 2017 21:19:35 +0000</pubDate>
      <link>https://dev.to/sfarias051/hi-im-sebastin-faras</link>
      <guid>https://dev.to/sfarias051/hi-im-sebastin-faras</guid>
      <description>&lt;p&gt;I have been coding for [7] years.&lt;/p&gt;

&lt;p&gt;You can find me on Twitter as &lt;a href="https://twitter.com/_s_farias" rel="noopener noreferrer"&gt;@_s_farias&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I live in [Santiago].&lt;/p&gt;

&lt;p&gt;I work for [secret]&lt;/p&gt;

&lt;p&gt;I mostly program in these languages: [php, java].&lt;/p&gt;

&lt;p&gt;I am currently learning more about [@_@].&lt;/p&gt;

&lt;p&gt;Nice to meet you.&lt;/p&gt;

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